Logstash timeout sending messagges to ES cluster

Hi,
currently I have:
1 LS server
3 ES nodes (components of a cluster)

I know that I can configure LS to send messages to different ES hosts (by config file). I also undestood that LS sends messages using round robin algorithm to every ES nodes.
what happen if the first ES node is not alive? LS will forward message automatically to other nodes or will retry?
taking a look to documentation here (timeout key) it seems that will be a retry attempt but I will prefer to forward to other nodes.

out of topic: is the same behavior for Filebeat that sends messages to different LS components?

what happen if the first ES node is not alive? LS will forward message automatically to other nodes or will retry?

It'll try sending the request to one of the other ES nodes.

so, this behavior will be managed using the timeout key. correct?

The timeout option determines how long before Logstash gives up on a request and tries to make a new request (typically to another node if it's a multi-node cluster).

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