how do you list multiple ELASTICSEARCH_HOSTS ? I want to pass along 2 different ELASTICSEARCH_HOSTS but I can't seem to get the syntax right.
Hello Justin,
I would expect it to be this:
ELASTICSEARCH_HOSTS:
- <host1>
- <host2>
- <host3>
Let me know if that works for you!
Regards,
Aaron
what about when you are running the docker command to start the container for testing?
i tried various combinations of syntax and was unable to get it to work correctly
docker run --name kibana -e ELASTICSEARCH_HOSTS=http://xxxx:9300,http://yyyy:9300 .......
no matter how i pass it rather it be in quotes or or anything I am keep getting
Jul 9 13:27:51 host docker: - [elasticsearch.hosts.0]: expected URI with scheme [http|https] but but got [http://elastic000:9200,http://elastic001:9200].
Jul 9 13:27:51 host docker: - [elasticsearch.hosts.1]: expected value of type [array] but got [string]
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.