We are using Logstash 6.2.4. We have two outputs configured: all data goes to Elasticsearch and some data also goes to an HTTP endpoint that is not always running when we are testing. In the case when the endpoint is not running, we receive a connect timed out error (fine), but Logstash keeps trying to send the data over and over even though we are using the default automatic_retries of 1. How can we configure Logstash to only retry a limited number of times?
Also, after a while of retrying the HTTP output, Logstash seems to give up on either processing new input or on sending it to Elasticsearch (haven't traced down where the problem is, just know that out data no longer gets into Elasticsearch).