Use multiple elasticsearch hosts
See original GitHub issueChart version: 7.6.2
Kubernetes provider: E.g. GKE (Google Kubernetes Engine) AWS
Helm Version: 2.16.6
Describe the bug:
Trying to set multiple values in the elasticsearchHosts
, turns out that is not able to parse the values. I already try to set the value in multiple ways. Could somebody just put a WORKING example of it.
Here are some of the formats that I tried:
## Array example 1:
kibana.yml:
elasticsearchHosts: '["http://es1:9200", "http://es2:9200", "http://es3:9200"]'
## Array example 2:
kibana.yml:
elasticsearchHosts: ["http://es1:9200", "http://es2:9200", "http://es3:9200"]
## Array example 3:
kibana.yml:
elasticsearchHosts:
- http://es1:9200
- http://es2:9200
- http://es3:9200
## Array example 4:
kibana.yml:
elasticsearchHosts:
http://es1:9200
http://es2:9200
http://es3:9200
Expected behavior: The helm is able to parse multiple values as array
Provide logs and/or server output (if relevant):
FATAL Error: [config validation of [elasticsearch].hosts]: types that failed validation:
- [config validation of [elasticsearch].hosts.0]: expected URI with scheme [http|https] but got [[http://es1:9200].
- [config validation of [elasticsearch].hosts.1]: expected value of type [array] but got [string]
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:11
Top Results From Across the Web
Kibana Setting multiple elasticsearch.hosts over marathon ...
So, my goal is to set up a two node cluster, with two elasticsearch nodes and a kibana client capable of using them...
Read more >How to connect to multiple Elasticsearch client nodes without ...
A few applications don't make a list of hosts. The most notable is Kibana®, which accepts a single host. To work around this,...
Read more >How to deploy an Elastic Search cluster consisting of multiple ...
Hi, In this post I'll discuss on how to deploy Elastic Search docker images as a cluster on multiple hosts ( Note: This...
Read more >Connect to multiple elasticsearch hosts with different ...
Multiple hosts in the configuration are multiple nodes in the same cluster, and there you'd only have username/password.
Read more >Managing Elasticsearch hosts | Yandex Cloud - Documentation
You can get a list of hosts in the Elasticsearch cluster, and add and remove hosts from the cluster. You can only manage...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Still an issue and also experiencing it
The solution would be something like this :
I am about to propose a PR as it is insane 😃