Skip to main content

GrimoireLab script to manage Kibana dashboards from the command line

Project description

Kidash Build Status Coverage Status PyPI version

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

kidash-0.6.4rc1.tar.gz (32.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kidash-0.6.4rc1-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

Details for the file kidash-0.6.4rc1.tar.gz.

File metadata

  • Download URL: kidash-0.6.4rc1.tar.gz
  • Upload date:
  • Size: 32.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Linux/6.2.0-1018-azure

File hashes

Hashes for kidash-0.6.4rc1.tar.gz
Algorithm Hash digest
SHA256 80ae5cc2c1ac12359d6165deb1380c790efece1ba122a7559145d3f795129909
MD5 94c40d4a1252d1fc230128e4da19767c
BLAKE2b-256 bf9d5021e5894b488ea36997f995281524a6bf83d42c9538f64e30e4334b5ced

See more details on using hashes here.

File details

Details for the file kidash-0.6.4rc1-py3-none-any.whl.

File metadata

  • Download URL: kidash-0.6.4rc1-py3-none-any.whl
  • Upload date:
  • Size: 28.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Linux/6.2.0-1018-azure

File hashes

Hashes for kidash-0.6.4rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 12889bbb292fafd437009bb49aa0d84f81d291f0e61f01b8c2c776246bbb61c4
MD5 78f69158c480effdbecbcfc112d3a220
BLAKE2b-256 a4d6c24016e80fb8e7796ffba17077f9bd966e2f6bdbbad1a0804395cb65492c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page