Metadata-Version: 2.1
Name: kidash
Version: 0.4.20
Summary: GrimoireLab script to manage Kibana dashboards from the command line
Home-page: https://github.com/chaoss/grimoirelab-kidash
Author: Bitergia
Author-email: grimoirelab-discussions@lists.linuxfoundation.org
License: GPLv3
Keywords: development repositories analytics
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Requires-Python: >=3.4
Description-Content-Type: text/markdown

# Kidash [![Build Status](https://github.com/chaoss/grimoirelab-kidash/workflows/build/badge.svg)](https://github.com/chaoss/grimoirelab-kidash/actions?query=workflow:build+branch:master+event:push) [![Coverage Status](https://img.shields.io/coveralls/chaoss/grimoirelab-kidash.svg)](https://coveralls.io/r/chaoss/grimoirelab-kidash?branch=master)

Kidash is a tool for managing Kibana-related dashboards from the command line. The standard GrimoireLab dashboards
are available in the [Sigils](https://github.com/chaoss/grimoirelab-sigils) repository.

## Installation

You can set up a virtual environment where Kidash will be installed
```
python3 -m venv foo
source bin foo/bin/activate
```

* Using PyPi
```buildoutcfg
pip3 install kidash
```

* From Source code
```buildoutcfg
git clone https://github.com/chaoss/grimoirelab-kidash
cd grimoirelab-kidash
python3 setup.py install
```

## Usage

- Get a list of all options with:
```
$ kidash --help
```

- Import a dashboard:
```buildoutcfg
kidash -g -e <elasticsearch-url>:<port> --import <local-file-path>
example: kidash -g -e https://admin:admin@localhost:9200 --import ./overview.json
```

- Export a dashboard:
```buildoutcfg
kidash -g -e <elasticsearch-url> --dashboard <dashboard-id>* --export <local-file-path> --split-index-pattern
example: kidash -g -e https://admin:admin@localhost:9200 --dashboard overview --export overview.json
```


