Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

A utility for managing Elasticsearch index templates in source control

Project description

Build Status


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.



Run python -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.

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

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page