Increase beat input inactivity timeout
This defaults to 60s, and there is a constant background of errors making noise in the logs of the form: ERROR pipeline/output.go:121 Failed to publish events: write tcp 10.11.3.128:40770->10.11.128.94:5044: write: connection reset by peer Advice seems to be to increase client_inactivity_timout [1]. Tested in one environment and the log noise is gone. [1] https://discuss.elastic.co/t/solved-filebeat-logstash-connection-reset-by-peer/87012 Change-Id: Ia93867826a0c32192e3c37ea101f9a95a29e3d00
This commit is contained in:
parent
48d7b08773
commit
e8966f4568
@ -8,6 +8,7 @@
|
|||||||
input {
|
input {
|
||||||
beats {
|
beats {
|
||||||
id => "inputBeats"
|
id => "inputBeats"
|
||||||
|
client_inactivity_timeout => 300
|
||||||
port => {{ logstash_beat_input_port }}
|
port => {{ logstash_beat_input_port }}
|
||||||
add_field => {
|
add_field => {
|
||||||
"[@metadata][source_type]" => "beats"
|
"[@metadata][source_type]" => "beats"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user