Skip to main content

UDP Reader

Reads data via UDP.

See Supported reader-parser combinations) for parsing options.

UDP Reader properties

property

type

default value

notes

Block Size

Integer

64

amount of data in KB for each read operation

Compression Type

String

Set to gzip when the input is in gzip format. Otherwise, leave blank.

IP Address

String

localhost

the IP address of the Striim server that will receive the UDP data (do not use localhost unless testing with a source running on the same system as Striim)

Port No

Integer

10000

port number where the UDPReader will listen

The output type is WAevent, except when using CollectdParser or JSONParser.

UDP Reader example

This example uses the DSV parser.

CREATE SOURCE CSVSource USING UDPReader (
  IpAddress:'192.0.2.0',
  PortNo:'3546'
)
PARSE USING DSVParser (
  header:'yes'
)