mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Set the default tcp data_timeout to -1 (never timeout). Too many users report confused and lost logs due to the default of 5 seconds.
This commit is contained in:
parent
50268de3b0
commit
edb0127858
1 changed files with 4 additions and 4 deletions
|
@ -23,11 +23,11 @@ class LogStash::Inputs::Tcp < LogStash::Inputs::Base
|
|||
# When mode is `client`, the port to connect to.
|
||||
config :port, :validate => :number, :required => true
|
||||
|
||||
# Read timeout in seconds. If a particular tcp connection is
|
||||
# idle for more than this timeout period, we will assume
|
||||
# it is dead and close it.
|
||||
# The 'read' timeout in seconds. If a particular tcp connection is idle for
|
||||
# more than this timeout period, we will assume it is dead and close it.
|
||||
#
|
||||
# If you never want to timeout, use -1.
|
||||
config :data_timeout, :validate => :number, :default => 5
|
||||
config :data_timeout, :validate => :number, :default => -1
|
||||
|
||||
# Mode to operate in. `server` listens for client connections,
|
||||
# `client` connects to a server.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue