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-20.1.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: bspump-utils-20.1.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-20.1.tar.gz
Algorithm Hash digest
SHA256 83ab8bb65ca3d09a2115e86ecec212e0d7b8d273a6e4067e2351919ae69b2eda
MD5 24a9b1ae5fd0b0818fb21ade6dbd5a2e
BLAKE2b-256 2f255c9cd292c1e8320eb70a0ed22a492ae917fcee24cb4f23ddb2df71db2112

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bspump_utils-20.1-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-20.1-py3-none-any.whl
Algorithm Hash digest
SHA256 24908392d6a81fc93d76561adae33592b83779a0835f0d1ad48eff35231b8bbd
MD5 34691489e1bee7134813f0c7d33f6c42
BLAKE2b-256 e13170eba50e0691d4a775b9b485e86fbd689c99862b014d46e2bd845444065a

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