Hi, guys.
I am configuring an elastic stack with multiple servers and would like to know how load balancing is implemented for each connection to each component.
-
elastic agent -> multiple elasticsearch or logstash nodes
If I set the IP:port of multiple elasticsearch or logstash in the elastic agent using kibana's fleet-server configuration, will index traffic be distributed evenly to all listed nodes? Or, will all data be sent with the first node by default and be transmitted to the next node if the communication with a node a impossible? -
logstash -> elasticsearch data nodes
If I set the IP:port of multiple elasticsearch using logstash.yml, will the traffic from logstash be sent evenly to all listed nodes? Or, will all data be sent with the first node of the list by default and be transmitted to the next node if the communication with the node is impossible? -
kibana -> elasticsearch coordination nodes
If I set the IP:port of multiple elasticsearch using kibana.yml, will the request from kibana be sent evenly to all listed nodes? Or, will all requests be sent with the first node of the list by default and be transmitted to the next node if the communication with the node is impossible?