(data->event receive-data inaddr message-parser)
Converts received-data to ARP Event
Converts received-data to ARP Event - *receive-data* Syslog data to be parsed - *inaddr* InetAddress to build a ServerEvent - *message-parser* to parse message field
(start-server port message-parser sink)
Starts TCP Syslog Server
Starts TCP Syslog Server - *port* Port to listen Syslog data - *message-parser* to parse message field - *sink* to pass ARP Events
(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]
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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close