Liking cljdoc? Tell your friends :D

mx.interware.arp.io.syslog-server


data->eventclj

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

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
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
raw docstring

start-serverclj

(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 ARP Events
Starts TCP Syslog Server
- *port* Port to listen Syslog data
- *message-parser* to parse message field
- *sink* to pass ARP Events
raw docstring

structured-data?clj

(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
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
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close