[rsyslog-notify] Forum Thread: Re: Legacy to Modern - (Mode 'reply')
noreply at adiscon.com
noreply at adiscon.com
Sat Sep 19 00:20:28 CEST 2015
User: dlang
Forumlink: http://kb.monitorware.com/viewtopic.php?p=25936#p25936
Message:
----------
look at global() for some of the parameters you are trying to set
you are slightly misunderstanding action()
the old syntax was
filter action
action for dynafile in the old syntax was ?template, with the new syntax
it's actino(type="omfile" dynafile="template)
but the filter is still separate from the action
so if you do
local7.* action()
you will get what you are looking for.
keep in mind that the old format is going to continue to be supported, so
you only need to convert things to the new format where it lets you do
something the old format didn't, or lets you do so more clearly.
the input file is a clear win on clarity, but the dynafile output may not
be (although if you use impstats, teh ability to name the output is
valuable, and there are dynafile parameters you should set if you have very
many output files that it creates)
David Lang
More information about the rsyslog-notify
mailing list