Improve documentation of settings.

This commit is contained in:
Aaron Mildenstein 2014-02-19 19:18:50 -06:00
parent 134cb63687
commit 3bdcd3cdd4

View file

@ -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