Skip to main content

A utility for managing Elasticsearch index templates in source control

Project description

Build Status

es-template-manager

A utility for managing Elasticsearch index templates in source control

Template Directory

The utility expects to be passed the path to a directory containing Elasticsearch index template files. The utility will iterate over each file, using the name of the file as the name of the index template. The contents of each index template file should be a JSON payload defining the index template.

Usage

python es-template-manager.py $ARGUMENTS

Run python es-template-manager.py -h to see a full list of arguments.

Required Arguments

  • --es-hostname: The Elasticsearch hostname. Do not prefix with http/https

  • --es-port: The Elasticsearch port number

  • --template-directory: The path to the directory containing the index template files

Optional Arguments

  • --debug: Enable debug logging

  • --es-use-ssl: Use SSL/TLS when connecting to Elasticsearch

  • --es-cacert: The path to a CA certificate file for verifying the Elasticsearch server certificate's authenticity

  • --es-cert: The path to a certificate file for authencating against the Elasticsearch server

  • --es-key: The path to a key file for authenticating against the Elasticsearch server

  • --overwrite-templates: Whether to overwrite any templates that already exist

  • --pushgateway_enpoint: If you want to push the final status of the job to a pushgateway endpoint

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

es-template-manager-1.3.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

es_template_manager-1.3-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file es-template-manager-1.3.tar.gz.

File metadata

  • Download URL: es-template-manager-1.3.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6

File hashes

Hashes for es-template-manager-1.3.tar.gz
Algorithm Hash digest
SHA256 0d48bab4f7c30250917fc83fe5d422058a0ee24dc86a6e71ecf6e10eab95a860
MD5 5c340824928f8cf2afbb389a94abab72
BLAKE2b-256 d731f074719132a5fd8d69bcd3506d8a472e106f6379d953aba3852a6859a523

See more details on using hashes here.

File details

Details for the file es_template_manager-1.3-py3-none-any.whl.

File metadata

  • Download URL: es_template_manager-1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6

File hashes

Hashes for es_template_manager-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bb4323f30663e71a89da8c010d50fa4740d94620cde5fd6fb9cbdae0bafc569e
MD5 8220e57a4c2373b9174ccab570984056
BLAKE2b-256 827c62815194d73865a1f234e04d10066847fc2dc9d0d126a0acc06a58f7b447

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