How to prevent filebeat exiting when Elasticsearch server is offline

I've noticed quite a few times recently that the filebeat service just shuts down due to Elasticsearch server downtime. Basically the last line in the filebeat.log is
"Exiting: couldn't connect to any of the configured Elasticsearch hosts"
Is there really no way to configure filebeat to just keep retrying indefinitely? I basically never want filebeat to shut down, even if Elasticsearch goes offline for any reason or length of time.

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