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 -
--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
Built Distribution
Hashes for es_template_manager-1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d06ecf43149616a3444f8cc86ea3d3dfc1cd2a64ed753449cca3f2c7e075dd30 |
|
MD5 | f906c1f58e01bb8ba04fbe5d505a9616 |
|
BLAKE2b-256 | ae1d068e8340ac778534769c4ff84217ecd4715bc560ccc170cc7ffdc2d67942 |