mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
Improve documentation of settings.
This commit is contained in:
parent
134cb63687
commit
3bdcd3cdd4
1 changed files with 4 additions and 3 deletions
|
@ -21,13 +21,14 @@ class LogStash::Inputs::Udp < LogStash::Inputs::Base
|
|||
# than 1024 (privileged ports) may require root or elevated privileges to use.
|
||||
config :port, :validate => :number, :required => true
|
||||
|
||||
# Buffer size
|
||||
# The maximum packet size to read from the network
|
||||
config :buffer_size, :validate => :number, :default => 8192
|
||||
|
||||
# I/O workers
|
||||
# Number of threads processing packets
|
||||
config :workers, :validate => :number, :default => 2
|
||||
|
||||
# Queue depth
|
||||
# This is the number of unprocessed UDP packets you can hold in memory
|
||||
# before packets will start dropping.
|
||||
config :queue_size, :validate => :number, :default => 2000
|
||||
|
||||
public
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue