:plugin: udp :type: input :default_codec: plain /////////////////////////////////////////// START - GENERATED VARIABLES, DO NOT EDIT! /////////////////////////////////////////// :version: %VERSION% :release_date: %RELEASE_DATE% :changelog_url: %CHANGELOG_URL% :include_path: ../../../../logstash/docs/include /////////////////////////////////////////// END - GENERATED VARIABLES, DO NOT EDIT! /////////////////////////////////////////// [id="plugins-{type}s-{plugin}"] === Udp input plugin include::{include_path}/plugin_header.asciidoc[] ==== Description Read messages as events over the network via udp. The only required configuration item is `port`, which specifies the udp port logstash will listen on for event streams. [id="plugins-{type}s-{plugin}-options"] ==== Udp Input Configuration Options This plugin supports the following configuration options plus the <> described later. [cols="<,<,<",options="header",] |======================================================================= |Setting |Input type|Required | <> |<>|No | <> |<>|No | <> |<>|Yes | <> |<>|No | <> |<>|No | <> |<>|No | <> |<>|No |======================================================================= Also see <> for a list of options supported by all input plugins.   [id="plugins-{type}s-{plugin}-buffer_size"] ===== `buffer_size` * Value type is <> * Default value is `65536` The maximum packet size to read from the network [id="plugins-{type}s-{plugin}-host"] ===== `host` * Value type is <> * Default value is `"0.0.0.0"` The address which logstash will listen on. [id="plugins-{type}s-{plugin}-port"] ===== `port` * This is a required setting. * Value type is <> * There is no default value for this setting. The port which logstash will listen on. Remember that ports less than 1024 (privileged ports) may require root or elevated privileges to use. [id="plugins-{type}s-{plugin}-queue_size"] ===== `queue_size` * Value type is <> * Default value is `2000` This is the number of unprocessed UDP packets you can hold in memory before packets will start dropping. [id="plugins-{type}s-{plugin}-receive_buffer_bytes"] ===== `receive_buffer_bytes` * Value type is <> * There is no default value for this setting. The socket receive buffer size in bytes. If option is not set, the operating system default is used. The operating system will use the max allowed value if receive_buffer_bytes is larger than allowed. Consult your operating system documentation if you need to increase this max allowed value. [id="plugins-{type}s-{plugin}-workers"] ===== `workers` * Value type is <> * Default value is `2` Number of threads processing packets [id="plugins-{type}s-{plugin}-source_ip_fieldname"] ===== `source_ip_fieldname` * Value type is <> * Default value is `"host"` The name of the field where the source IP address will be stored. [id="plugins-{type}s-{plugin}-common-options"] include::{include_path}/{type}.asciidoc[] :default_codec!: