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.7

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.5.6rc1.tar.gz (32.8 kB view details)

Uploaded Source

Built Distribution

kidash-0.5.6rc1-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kidash-0.5.6rc1.tar.gz
  • Upload date:
  • Size: 32.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.3 Linux/5.15.0-1037-azure

File hashes

Hashes for kidash-0.5.6rc1.tar.gz
Algorithm Hash digest
SHA256 c4a1d229c8be3ee6349d8de022023cc2a44a99b52dd3654b11eda619db14a188
MD5 2395e75a7bb6de6665ba9c62c644022b
BLAKE2b-256 4d3c1f8749a5632f646920efab3b2e8a86389dce17a23006469e7413ea358a57

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kidash-0.5.6rc1-py3-none-any.whl
  • Upload date:
  • Size: 28.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.3 Linux/5.15.0-1037-azure

File hashes

Hashes for kidash-0.5.6rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 bbdfa16dcf46692622070434226ee66f1d0c99ae0fb56359b9bea37f939b1968
MD5 d8902635afc231952bf0697d0b35c380
BLAKE2b-256 b1a4b064c3b75641b54e0b7fdf0602bbaefb943a8604eaf380c4c8281bfa626d

See more details on using hashes here.

Supported by

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