Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A utility for managing Elasticsearch index templates in source control

Project description

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

Project details


Release history Release notifications

This version

1.0

Download files

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

Files for es-template-manager, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size es_template_manager-1.0-py3-none-any.whl (6.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size es-template-manager-1.0.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page