Code Monkey home page Code Monkey logo

kibconfig's Introduction

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

kibconfig's People

Contributors

robaca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

indigo423

kibconfig's Issues

push does nothing

Hi there,

Nice module. It's exactly what I want. While pull works fine and downloads quite a few files, push does nothing. It doesn't fail either, it just does nothing.

From trying to trace it down, it seems like the used type doesn't match. When pulling, it creates a doc directory in the datadir, while when pushing, it looks for search and visualization directories which don't exist.

  • Node 6.13
  • Kibana 6.2.2

Thanks for your help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.