Skip to content

Commit

Permalink
Doc: Add space delimited URI examples
Browse files Browse the repository at this point in the history
  • Loading branch information
karenzone committed Aug 11, 2021
1 parent 610550e commit 2756b6d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down

0 comments on commit 2756b6d

Please sign in to comment.