From 2756b6dec67d5a1959f961dadacb641afa7198db Mon Sep 17 00:00:00 2001 From: Karen Metts Date: Wed, 11 Aug 2021 17:26:00 -0400 Subject: [PATCH] Doc: Add space delimited URI examples --- docs/index.asciidoc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/index.asciidoc b/docs/index.asciidoc index 729926d..e79ccd1 100644 --- a/docs/index.asciidoc +++ b/docs/index.asciidoc @@ -267,6 +267,17 @@ fields => { List of elasticsearch hosts to use for querying. +This option can accept an environment variable containing one or more hostnames separated by whitespace. +Strings separated by whitespace are treated as separate entries. + +*Examples:* + +* `ES_HOSTS="es1.example.com es2.example.com:9201 es3.example.com:9201"` +* `ES_HOSTS="127.0.0.1:9200 127.0.0.2:9200"` +* `ES_HOSTS="http://127.0.0.1 http://127.0.0.2"` +* `ES_HOSTS="https://127.0.0.1:9200/mypath https://127.0.0.2:9200/mypath"` + + [id="plugins-{type}s-{plugin}-index"] ===== `index`