UDP Source
The UDP Source source reads messages from one or more UDP ports. For information about supported versions, see Supported systems and versions.
To use multiple threads for flow processing, use the UDP Multithreaded Source. For a discussion about the differences between the two sources, see Comparing UDP Source sources.
When processing NetFlow messages, the stage generates different records based on the NetFlow version. When processing NetFlow 9, the records are generated based on the NetFlow 9 configuration properties. For more information, see NetFlow data processing.
The source can also read binary or character-based raw data.
When a flow stops, the source notes where it stops reading. When the flow starts again, the source continues processing from where it stopped by default. You can reset the offset to process all requested data.
When you configure UDP Source, you specify the ports to use and the batch size and wait time. When epoll is available, you can specify the number of receiver threads to use to increase the throughput of packets to the flow.
You also specify the data format for the data, then configure any related properties.
Processing raw data
Use the Raw/Separated Data data format to enable the UDP Source source to generate records from binary or character-based raw data.
When processing raw data, the source can generate a record for each UDP packet that it receives. Or, if you specify a separator character, then the source can generate multiple records from each UDP packet.
When generating multiple records, you specify the multiple value behavior: one record with only the first value, one record with all values as a list, or multiple records with one record for each value.
You can optionally specify an output field to use for the data. When not specified, the source writes the raw data to the root field.
You might use the Raw/Separated Data data format to write raw data to a field that you later process using the Data Parser processor. This allows you to retain the raw data for another use.
Receiver threads
Receiver threads are used to pass data from the UDP source system to the source. By default, the source uses a single receiver thread.
You can configure the UDP Source source to use additional receiver threads when Data Collector runs on a machine enabled for epoll. Epoll requires native libraries and is only available when Data Collector runs on recent versions of 64-bit Linux. When you enable multiple receiver threads, you increase the volume of data that can be passed to the source at one time.
To use additional receiver threads, select the Use Native Transports (epoll) property, and then configure Number of Receiver Threads.
Configuring a UDP Source
About this task
Configure a UDP Source source to process messages from a UDP source.