Expand description
Types used to specify values in a RFC5424 message
Structs§
- AppName
- Wrapper for
String
containing the App Name. Limited to 48 ASCII chars. - Host
Name - Wrapper for
String
containing the Host Name. Limited to 255 ASCII chars. - Message
Id - Wrapper for
String
containing the Message ID. Limited to 32 ASCII chars. - Process
Id - Wrapper for
String
containing the Process ID. Limited to 128 ASCII chars.
Enums§
- Facility
- Syslog facility
- Message
- The message portion of a syslog message may be either UTF-8 or binary.
- Severity
- Syslog severity
Functions§
- escape_
val - Escape the
val
parameter according to PARAM-VALUE rule from RFC5424. - remove_
invalid - Remove invalid characters from
name
. Used for values in PARAM-NAME and SD-ID from RFC5424. Removes'=', ' ', ']', '"'
, and non-printable ASCII characters. The filtered message is then truncated to 32 characters.