All,
I'm looking for what should be simple but may not exist. In the standard YABU rsyslog.conf we find the following line.
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
I'm digging through the documentation site:
http://www.rsyslog.com/doc/master/index.html
looking for something like $ActionForwardDefaultTemplate because I want to have use RSYSLOG_SyslogProtocol23Format for message forwarding. Initially I changed the value of $ActionFileDefaultTemplate and added the *.* @my.host to /etc/rsyslog.d/50-default.conf.
I restarted the service and still get the same crummy output sent to the receiving system.
<4>Feb 8 14:55:43 roland-MCP61M-M3-linux-lite kernel: [875568.243099] [UFW BLOCK] IN=enp0s7 OUT= MAC=01:00:5e:00:00:01:c0:56:2
7:cb:9c:26:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=28 TOS=0x00 PREC=0xC0 TTL=1 ID=27142 PROTO=2
What do I need to change in rsyslog.conf to change the forwarding format? I'm having a really difficult time finding that little snippet.
Not that it should matter, but the test system is a less than 6 months old 64-bit Linux-Lite (YABU) and as of one week ago all updates were applied.