[rsyslog-notify] Forum Thread: Re: using dynamic filename to log - (Mode 'reply')
noreply at adiscon.com
noreply at adiscon.com
Sun Mar 2 04:32:32 CET 2014
User: dlang
Forumlink: http://kb.monitorware.com/viewtopic.php?p=24284#p24284
Message:
----------
you use two different templates, one for the filename, one for the contents
of the line to be written
with an old-style action this is
syslog.crit ?nametemplate;linetemplate
(note that if the filter is *.* you can leave it out and just do
?nametemplate;linetemplate as of v7)
with the new style actions, it would be
action(type="omfile", template="linetemplate" DynaFile="nametemplate:)
More information about the rsyslog-notify
mailing list