Hi Folks,

First post on this list.

I would like to be able to add a property to a log message on the fly
before forwarding the log message to a remote syslog server.  I would use
this property value to indicate one or more groups and/or roles the host
machine participates in or fulfills.

For example:

$ModLoad imjournal
$IMJournalStateFile imjournal.state
$ActionForwardDefaultTemplate RSYSLOG_SyslogProtocol23Format
$PreserveFQDN on

set $!roles = "perf-dept-openstack,controller,db"

*.*                                                     @@10.16.28.160:514


So would I just make a custom template that does the same thing as syslog
protocol 23 format offers?  Or can I add that properly there easily?

Thanks,

-peter
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to