Syslog Advanced Configuration Parameters
Parameter | Default | Description |
---|---|---|
Syslog_Format | RFC5424 | Defines whether messages are sent in RFC3164 or RFC5424 standard defined formats. RFC3164 is BSD-syslog or legacy-syslog protocol. Set this parameter as per configured Syslog protocol on the Syslog Server. Valid values: • RFC3164 • RFC5424 |
Syslog_Framing_Type | OCTET_COUNTING | Useful only when Syslog_Server_Protocol is set to TCP or SSL . This setting is used to delimit/frame individual syslog messages sent over TCP.Valid values: • CRLF - Carriage return, followed by line-feed (ASCII 13, 10) • CR - Carriage return (ASCII 13) • LF - Line-feed (ASCII 10) • NUL - NUL character (ASCII 00) • OCTET_COUNTING - The octet-counting method described in RFC5425 and RFC6587 Recommended: • CRLF - When the Syslog server is configured for RFC3164 (BSD-syslog) messages • OCTET_COUNTING - When the Syslog server is configured for RFC5424 messages |
Syslog_Output_Template | no default | Controls the format of the "body" part of messages. User can additionally set the template for messages generated by application using this property. A number of built-in properties can appear in the output templates: Level - The log event's level, formatted as the full level name. For more compact level names, use a format such as {Level:u3} or {Level:w3} for three-character upper or lowercase level names, respectively.Message - The log event's message, rendered as the plaintext. NewLine - A property with the value of System.Environment.NewLine .Timestamp - The event's timestamp, as a DateTimeOffset .Example: <Syslog_Output_Template>[{Timestamp:HH:mm:ss} {Level:u3}] {Message}{NewLine}</Syslog_Output_Template> |
For Logging Parameters, click here.