Kvasir.Syslog.Parser (kvasir v1.0.0)

Parse the syslog message and encode it as a syslog structure.

Summary

Functions

Parse the text message as a Syslog struct or returns a parser error. The function tries to parse first for RFC5424 and if that's failing then it's trying to parse RFC3164.

Parse the text message based on the RFC3164 and if that's failing it's returning an error.

Parse the text message based on the RFC5424 and if that's failing it's returning an error.

Functions

Parse the text message as a Syslog struct or returns a parser error. The function tries to parse first for RFC5424 and if that's failing then it's trying to parse RFC3164.

Link to this function

parse_rfc3164(message)

Parse the text message based on the RFC3164 and if that's failing it's returning an error.

Link to this function

parse_rfc5424(message)

Parse the text message based on the RFC5424 and if that's failing it's returning an error.