Socket
Socket
Sign inDemoInstall

@lastcall/kibana-code-deployer

Package Overview
Dependencies
43
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @lastcall/kibana-code-deployer

CLI tool assisting code-based deployments to Kibana


Version published
Maintainers
2
Created

Readme

Source

Kibana-Code-Deployer

This package is a command-line tool that can be used to import and export saved Kibana objects to JSON files in a local directory. These JSON files can be committed to version control.

Usage

You can install this project using a simple command:

npm i @lastcall/kibana-code-deployer

Once you have it installed, create a configuration file in your project root (kcd.json). The config file will contain information about your Kibana installation, as well as a local directory that will be used to store exported objects.

# kcd.json
{
  "kibana": {
    "url": "THE_URL_TO_KIBANA"
  },
  "directory": "LOCAL_DIRECTORY_TO_PUT_EXPORTS_IN",
}

Now you're ready to rock! To see what would be exported by KCD, run the following command:

node_modules/.bin/kcd compare

To export those objects from you Kibana instance to your local directory, run:

node_modules/.bin/kcd export-all

To import those same objects from your local directory to your Kibana instance, run:

node_modules/.bin/kcd import-all

FAQs

Last updated on 07 Jun 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc