HI all,

 Question: Is syslogtag property
(http://www.rsyslog.com/doc/property_replacer.html) the same as tag
when imfile module is used??

 For example in the following configuration:

input(type="imfile" file="/tmp/test.log" tag="testlog:"
statefile="/tmp/testlog-state" facility="local6" severity="info")

if $syslogtag == 'testlog:' then {
  action(type="omfwd" protocol="tcp" target="1.1.1.1".....

 Is this correct??
_______________________________________________
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