GrimoireLab script to manage Kibana dashboards from the command line
Project description
Kidash
Kidash is a tool for managing Kibana-related dashboards from the command line. The standard GrimoireLab dashboards are available in the Sigils repository.
Requirements
- Python >= 3.8
You will also need some other libraries for running the tool, you can find the whole list of dependencies in pyproject.toml file.
Installation
There are several ways to install Kidash on your system: packages or source code using Poetry or pip.
PyPI:
Kidash can be installed using pip, a tool for installing Python packages. To do it, run the next command:
$ pip install kidash
Source code
To install from the source code you will need to clone the repository first:
$ git clone https://github.com/chaoss/grimoirelab-kidash
$ cd grimoirelab-kidash
Then use pip or Poetry to install the package along with its dependencies.
Pip
To install the package from local directory run the following command:
$ pip install .
In case you are a developer, you should install kidash in editable mode:
$ pip install -e .
Poetry
We use poetry for dependency management and packaging. You can install it following its documentation. Once you have installed it, you can install kidash and the dependencies:
$ poetry install
To spaw a new shell within the virtual environment use:
$ poetry shell
Usage
- Get a list of all options with:
$ kidash --help
- Import a dashboard:
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:
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
License
Licensed under GNU General Public License (GPL), version 3 or later.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file kidash-1.0.4rc1.tar.gz
.
File metadata
- Download URL: kidash-1.0.4rc1.tar.gz
- Upload date:
- Size: 33.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad85846030b93a8f4970fe6c470320995d75d83fbf6d758fa5a06214d752d7de |
|
MD5 | a1f3d28a4ea553d176c83164d00f41d5 |
|
BLAKE2b-256 | f5dd27977d8c181a048b428d66e95306d2c64310dfecdd7b38f383652018d634 |
File details
Details for the file kidash-1.0.4rc1-py3-none-any.whl
.
File metadata
- Download URL: kidash-1.0.4rc1-py3-none-any.whl
- Upload date:
- Size: 28.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de51a8d785be5bbfb2d7fed8e26d91223f0c0d7795a784eda40e35bb0218ac04 |
|
MD5 | badcfb984b64ca633d8bb3fc7dbd1a06 |
|
BLAKE2b-256 | 366566033aa22701d7a164e1ee88db2122243842501fc6f89b716df721ce9cc3 |