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:
parent
66dea3f74e
commit
749ee5405c
@ -3,6 +3,7 @@ output {
|
||||
hosts => <%= @elasticsearch_nodes.map { |node| node + ":9200" }.inspect %>
|
||||
manage_template => false
|
||||
flush_size => 1024
|
||||
timeout => 300
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user