Force kibana into connecting to preferred ES node


I've installed two instances of ES (co-ordinator only) running on a couple of machines, with a kibana instance. For kibana, I've set both of them as elasticsearch.hosts=[es1, es2] However, I'd always like it to talk to only the first node at any given point in time, UNLESS that node is down.

I'd like to know what sort of preferences Kibana takes into consideration when multiple hosts are provided to it, and if there is a mechanism to further tune it to prefer one instance over the other.


There's no way to do that in the Kibana config sorry. You would need a load balancer to manage it.

I see. Adjuct to this, is there a way to figure out which node the current kibana session is talking to?

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