Is i possible to set kibana to use multiple elasticsearch nodes?


#1

Hi,

I have setup a 3 node elasticsearch cluster with setting;

node.master: true
node.data: true

I have 3 IPs 192.168.0.1, 192.168.0.2 and 192.168.0.3, and the ports allocated for elasticsearch are 9200, 9210 and 9220 respectively. I have configured elasticsearch in my kibana.yml like;

elasticsearch.url: "http://192.168.0.1:9200"

I would like to know if its possible to configure an array of IP and ports like;

elasticsearch.url: ["http://192.168.0.1:9200","http://192.168.0.2:9210","http://192.168.0.3:9220"]

This is because, it is fine if the first node to up is 192.168.0.1 and what if the first node to come alive is 192.168.0.2 and 192.168.0.1 is down? In this situation, kibana wont get response from 192.168.0.1 right? Or if there is something like 192.168.0.1 is down and unable to get up, and other nodes are alive? What I want is something like, I want to use kibana, no matter which elasticsearch node is up. Is this possible?

Thanks.


(Tyler Smalley) #2

Currently specifying multiple Elasticseach nodes is not supported. There is currently a ticket for this and we hope to address it soon. Feel free to subscript for future updates: https://github.com/elastic/kibana/issues/214

One option is to put the nodes behind a load balancer.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.