[rsyslog-notify] Forum Thread: Add a field to a forwarded rsyslog message - (Mode 'post')

noreply at adiscon.com noreply at adiscon.com
Wed Mar 11 17:38:36 CET 2015


User: rjc 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=25317#p25317

Message: 
----------
Hello,

How can I add an extra field to an rsyslog message that is forwarded over
UDP. Let's say for example I am doing this...

*.* @127.0.0.1:20001

It currently send a message of...

"Mar 11 16:31:40 localhost systemd: Unit fprintd.service entered failed
state."

I want to send a message of...

"Mar 11 16:31:40 localhost systemd: Unit fprintd.service entered failed
state. source_syslog"

Is this possible?

Add a field to a forwarded rsyslog message.

Rhys


More information about the rsyslog-notify mailing list