X-Git-Url: https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas%2Felasticsearch.git;a=blobdiff_plain;f=README.rst;h=966b6b7174bf7ca866bde5fd2eac4acd6c2a2cdc;hp=8c49531d844ae162f0d315abcfca93aa1de463e5;hb=4025f023ec0c9117028825ba639be78bda8961b2;hpb=df5209c4f7d1d00fbfd0418d1f279523febf5280 diff --git a/README.rst b/README.rst index 8c49531..966b6b7 100644 --- a/README.rst +++ b/README.rst @@ -68,6 +68,7 @@ Common definition for curator: timeout: 900 logfile: /var/log/elasticsearch/curator.log logformat: json + master_only: true actions: - action: delete_indices description: >- @@ -130,6 +131,36 @@ Common definition for curator: unit: days unit_count: 2 +Client setup +------------ + +Client with host and port: + +.. code-block:: yaml + + elasticsearch: + client: + enabled: true + server: + host: elasticsearch.host + port: 9200 + +Client where you download an index template that is stored in the direcotry +*files/*: + +.. code-block:: yaml + + elasticsearch: + client: + enabled: true + server: + host: elasticsearch.host + port: 9200 + index: + my_index: + enabled: true + template: elasticsearch/files/my_index_template.json + Read more =========