# @lastcall/kibana-code-deployer

> CLI tool assisting code-based deployments to Kibana

Latest version **0.0.11** (published 2019-06-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @lastcall/kibana-code-deployer
pnpm add @lastcall/kibana-code-deployer
yarn add @lastcall/kibana-code-deployer
bun add @lastcall/kibana-code-deployer
```

Provides the command `kcd`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.11 |
| Published | 2019-06-07 |
| First published | 2019-05-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 6 |
| Unpacked size | 19 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Rob Bayliss |
| Maintainers | jlandfried, rbayliss |

## Links

- npm: https://www.npmjs.com/package/@lastcall/kibana-code-deployer
- Repository: https://github.com/LastCallMedia/Kibana-Code-Deployer
- Homepage: https://github.com/LastCallMedia/Kibana-Code-Deployer#readme
- Issues: https://github.com/LastCallMedia/Kibana-Code-Deployer/issues
- npm.io page: https://npm.io/package/@lastcall/kibana-code-deployer

## Dependencies (6)

- [chalk](https://npm.io/package/chalk.md) ^2.4.2
- [yargs](https://npm.io/package/yargs.md) ^13.2.2
- [lodash](https://npm.io/package/lodash.md) ^4.17.11
- [bluebird](https://npm.io/package/bluebird.md) ^3.5.4
- [fs-extra](https://npm.io/package/fs-extra.md) ^7.0.1
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.5.0

## Recent versions

- 0.0.11 (latest) — 2019-06-07
- 0.0.10 — 2019-05-21
- 0.0.9 — 2019-05-16
- 0.0.8 — 2019-05-15
- 0.0.7 — 2019-05-15
- 0.0.6 — 2019-05-15
- 0.0.5 — 2019-05-10
- 0.0.4 — 2019-05-10
- 0.0.3 — 2019-05-10
- 0.0.2 — 2019-05-09
- 0.0.1 — 2019-05-09

## README

# 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:
```bash
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.
```json
# 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:
```bash
node_modules/.bin/kcd compare
```

To export those objects from you Kibana instance to your local directory, run:
```bash
node_modules/.bin/kcd export-all
```

To import those same objects from your local directory to your Kibana instance, run:
```bash
node_modules/.bin/kcd import-all
```

---
_Source: https://npm.io/package/@lastcall/kibana-code-deployer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
