mx.interware.caudal.io.syslog-server

data->event

(data->event receive-data inaddr message-parser)

Converts received-data to Caudal Event - receive-data Syslog data to be parsed - inaddr InetAddress to build a ServerEvent - message-parser to parse message field

start-server

(start-server port message-parser sink)

Starts TCP Syslog Server - port Port to listen Syslog data - message-parser to parse message field - sink to pass Caudal Events

structured-data?

(structured-data? receive-data)

Return true if receive-data is structured. When receive-data is a structured syslog message must be parsed with StructuredSyslogServerEvent, see: [https://tools.ietf.org/html/rfc5424#section-6.5] otherwise, with standard SyslogServerEvent, see: [https://tools.ietf.org/html/rfc3164#section-5.4] - receive-data Syslog data to be parsed