Skip to content

Commit 2756b6d

Browse files
committed
Doc: Add space delimited URI examples
1 parent 610550e commit 2756b6d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/index.asciidoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,17 @@ fields => {
267267

268268
List of elasticsearch hosts to use for querying.
269269

270+
This option can accept an environment variable containing one or more hostnames separated by whitespace.
271+
Strings separated by whitespace are treated as separate entries.
272+
273+
*Examples:*
274+
275+
* `ES_HOSTS="es1.example.com es2.example.com:9201 es3.example.com:9201"`
276+
* `ES_HOSTS="127.0.0.1:9200 127.0.0.2:9200"`
277+
* `ES_HOSTS="http://127.0.0.1 http://127.0.0.2"`
278+
* `ES_HOSTS="https://127.0.0.1:9200/mypath https://127.0.0.2:9200/mypath"`
279+
280+
270281
[id="plugins-{type}s-{plugin}-index"]
271282
===== `index`
272283

0 commit comments

Comments
 (0)