X-Git-Url: https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas%2Felasticsearch.git;a=blobdiff_plain;f=README.rst;h=966b6b7174bf7ca866bde5fd2eac4acd6c2a2cdc;hp=7e9ccce455e46e13bd84fe9b82ccb29cd43f5ca9;hb=9e2850f4d90750b1e4a05a29e782b64882a7f433;hpb=911588c0a9c69234b52e26a8c37cfc66e4e42762 diff --git a/README.rst b/README.rst index 7e9ccce..966b6b7 100644 --- a/README.rst +++ b/README.rst @@ -24,6 +24,17 @@ Single-node elasticsearch with clustering disabled: shards: 1 replicas: 0 +Setup shared repository for snapshots: + +.. code-block:: bash + + elasticsearch: + server: + snapshot: + reponame: + path: /var/lib/glusterfs/repo + compress: true + Cluster with manually defined members: .. code-block:: yaml @@ -57,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: >- @@ -119,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 =========