Skip to main content

TCP Reader

Reads data via TCP.

See Supported reader-parser combinations) for parsing options.

TCP 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

If the server has more than one IP address, specify the one to use.

Max Concurrent Clients

Integer

5

Port No

Integer

10000

port number where the TCPReader will listen

The output type is WAevent except when using JSONParser.

TCP Reader example

This example uses the DSV parser.

create source CSVSource using TCPReader (
    IpAddress:'10.1.10.55',
    PortNo:'3546'
)
parse using DSVParser (
    header:'yes'
)