Timeout logstash es pushes after 300s

By default the elasticsearch output plugin for logstash has no timeout.
I think this is the cause of logstash daemons hanging when we have
elasticsearch node outages. Goal here is to have the timeout force the
request to be retried again (ideally against a different server entirely
but even if it is simply retried to the same server we should operate
properly again once the server that went down is back up).

Change-Id: I0511f32f8ee3f0c40987cab3e2528a85595785b2
This commit is contained in:
Clark Boylan 2017-12-08 13:48:43 -08:00
parent 66dea3f74e
commit 749ee5405c
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ output {
hosts => <%= @elasticsearch_nodes.map { |node| node + ":9200" }.inspect %>
manage_template => false
flush_size => 1024
timeout => 300
}
}