Type: global configuration parameter
This option specifies the prefix character to be used for control character escaping (see option $EscapeControlCharactersOnReceive). By default, it is ‘\’, which is backwards-compatible with sysklogd. Change it to ‘#’ in order to be compliant to the value that is somewhat suggested by Internet-Draft syslog-protocol.
IMPORTANT: do not use the ‘ character. This is reserved and will most probably be used in the future as a character delimiter. For the same reason, the syntax of this parameter will probably change in future releases.
$EscapeControlCharactersOnReceive # # as of syslog-protocol
Help with configuring/using
Mailing list - best route for general questions
GitHub: rsyslog source project - detailed questions, reporting issues that are believed to be bugs with
Stack Exchange (View, Ask) - experimental support from rsyslog community
Source project: rsyslog project README.
Documentation: rsyslog-doc project README
Copyright 2008-2020 Rainer Gerhards (Großrinderfeld), and Others.