When I define a multiple elasticsearch hosts in config file, is it possible to prioritize one host over the others ?
Can I affect a weight in order to redistribute essentially to one specific node and send requests on other nodes only when this node is down ?
I have a Kibana instance on the same server that a node of the cluster. I want the requests would be redirected to this node prioritizely.
For this purpose, Elasticsearch has a concept of a Coordinating Only node to handle load balancing. After setting up the nodes you only list the Coordinating Only node(s) as hosts in Kibana.
See also, the Kibana High Availability section in this blog post.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.