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

This version

1.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kidash-1.0.1.tar.gz (33.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file kidash-1.0.1.tar.gz.

File metadata

  • Download URL: kidash-1.0.1.tar.gz
  • Upload date:
  • Size: 33.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.5.0-1018-azure

File hashes

Hashes for kidash-1.0.1.tar.gz
Algorithm Hash digest
SHA256 95fcb9c243c5930395172cfbc8d6208d7abb022754296fc8dd6da70f367cf250
MD5 812457797595cd77f6c030f02790695e
BLAKE2b-256 73dd0f8ce378db3eb7f725a0321fd7cedd3f33f64a27c2eb99f26bb846ff7184

See more details on using hashes here.

File details

Details for the file kidash-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: kidash-1.0.1-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.3 Linux/6.5.0-1018-azure

File hashes

Hashes for kidash-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9aaf37d5cd9163f4228e007887ab4a0e227360e05e151a582d26215db001c5b5
MD5 6cb5b31e17f3fbb3f130e6db6b041fff
BLAKE2b-256 ea19acff67055ca1f7f0078f28be23351194df7e7768d5c1c5378ca926dbff3c

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