Order of endpoints provided in the elasticsearch.hosts parameter

Hi all,

in order to have high availability in a small cluster we are deploying two nodes with Kibana in front of a 3 master/data nodes ES cluster. My plan is to add the three of them to the elasticsearch.hosts parameter in Kibana. In order to avoid hitting the same node with the two Kibanas I'm thinking about providing the three nodes in different order to the Kibanas.

So, having C1,C2 and C3 as data/master nodes of the cluster I would set up the Kibanas like this:

  • Kibana 1 -> elasticsearch.hosts: C1, C2, C3
  • Kibana 2 -> elasticsearch.hosts: C3, C2, C1

I've read at https://www.elastic.co/guide/en/kibana/6.8/production.html the following statement: ".. Requests to available hosts will be routed in a round robin fashion". I wonder whether this round robin solution uses the list of hosts in the same order it is provided to Kibana.

Thanks in advance.

@lcanas the round robin we use starts on the first element of the array and rans according the order. So yes, you can use it.

1 Like

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