Skip to main content

BSPump utils for ElasticSearch and Kibana. Tiny subset of BSPump

Project description

Tiny subset of BSPump

Installation

pip install bspump-utils

Usage

bselastic

bselastic [-h] {load_index_template,cleanup,reopen,close,delete} ...

Manage ElasticSearch.

positional arguments:
  {load_index_template,cleanup,reopen,close,delete}
                        commands
    load_index_template
                        loads index templates into ElasticSearch
    cleanup             Closes old and deletes empty indexes
    reopen              reopen closed indexes in time range
    close               close open indexes in time range
    delete              delete indexes in time range

optional arguments:
  -h, --help            show this help message and exit

bskibana

bskibana [-h] [--verbose] [--silent]
              {export,import,decompile,compile,rename,document} ...

Manage Kibana object library and Kibana index in ElasticSearch.

  Example of use:

  bskibana.py export http://localhost:9200/ /tmp/kibana-index-exported.json
  bskibana.py decompile /tmp/kibana-index-exported.json /tmp/kibana-index-decompiled/ ./kibana/library/objects/
  bskibana.py compile /tmp/kibana-index-decompiled/ ./kibana/library/objects/ -o /tmp/kibana-index-exported.json
  bskibana.py import /tmp/kibana-index-exported.json http://localhost:9200/

  bskibana.py document -t ./kibana/library/templates/ ./kibana/library/objects/ -o /tmp/doc

positional arguments:
  {export,import,decompile,compile,rename,document}
                        commands
    export              exports a Kibana index to a file
    import              Imports a Kibana index from a file
    decompile           Decompile a Kibana index file into a library
    compile             Compile a Kibana index file
    rename              Change ids of Kibana index-pattern objects and fix
                        references.
    document            Generate a documentation

optional arguments:
  -h, --help            show this help message and exit
  --verbose, -v         Be verbose in the output
  --silent, -s          Don't print anything

Licence

BSPump-utils is an open-source software, available under BSD 3-Clause License.

Project details


Download files

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

Source Distribution

bspump-utils-19.11.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

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

bspump_utils-19.11-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file bspump-utils-19.11.tar.gz.

File metadata

  • Download URL: bspump-utils-19.11.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.32.2 CPython/3.6.6

File hashes

Hashes for bspump-utils-19.11.tar.gz
Algorithm Hash digest
SHA256 10e85b6184eedda86ae25d416582d7ace12f37e141bf4a9da49e65fff29b64a4
MD5 41d288ed96a8d34146846da74b4610d1
BLAKE2b-256 8f37709883504e03c8856de08cf35bb9ec5f05fe43846df111ce266149722da9

See more details on using hashes here.

File details

Details for the file bspump_utils-19.11-py3-none-any.whl.

File metadata

  • Download URL: bspump_utils-19.11-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.32.2 CPython/3.6.6

File hashes

Hashes for bspump_utils-19.11-py3-none-any.whl
Algorithm Hash digest
SHA256 6aedee270e0d18ea9e71bbe08edf91f691a651f87581aabaed28ca539d67fae5
MD5 be3b4095457f18ae94e39df9c9fb3b99
BLAKE2b-256 1a0885399763e0f566c7a1b8a9f369ad612bebe09da3fdff39b029959b9bdf95

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