Multiple hosts in ES output - one of them down


I have a 5 node cluster, two of which are used for "hot" data.
In my Logstash configs in the Elasticsearch output, I define both hosts:
elasticsearch {
hosts => [ "https://host1:9200", "https://host2:9200" ]

I would expect LS to load balance the requests across both hosts, and if one of them goes down, it should send all messages to the remaining one.
But it seems that the whole pipeline stops working. I get lots of errors regarding the one host that is down:
"Attempted to resurrect connection to dead ES instance, but got an error", "host unreachable", etc.

Is there a way to make it behave that way?

I am using ES and LS 7.5

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