Skip to content

A small library to sync Kibana config objects (dashboards, visuals, searches, etc...) with a local directory

License

Notifications You must be signed in to change notification settings

codecentric/kibconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kibconfig

A small utility to sync Kibana config objects (dashboards, visuals, searches, etc...) with a local directory.

Installation

To install:

npm install -g kibconfig

Usage

see kibconfig --help

First steps

Start by creating a .kibconfig file in a new empty directory. You'll probably

Configuration

You can create a .kibconfig file in any upstream directory to contain the configuration:

{
    "url": "http://localhost:9200",
    "datadir": "kibana",
    "verbose": true
}

Config attributes correspond to the parameters that are shown via kibconfig --help.

You can also maintain different profiles, for example to maintain different stages:

{
    "profiles": {
        "preprod": {
            "url": "http://my-pre-production-server:9200",
            "datadir": "preprod",
            "verbose": true
        },
        "production": {
            "url": "http://my-production-server:9200",
            "datadir": "production",
            "verbose": true
        }
    }
}

Build yourself

Run ES6 code directly:

babel-node src/kibconfig.js

Compile es6 code for publish:

yarn run compile

Re-Install it locally after local updates:

# Don't forget to unlink first
yarn unlink
yarn build
yarn link

About

A small library to sync Kibana config objects (dashboards, visuals, searches, etc...) with a local directory

Resources

License

Stars

Watchers

Forks

Packages

No packages published