[rsyslog-notify] Forum Thread: Re: ruleset does not work, no writing into file - (Mode 'reply')

noreply at adiscon.com noreply at adiscon.com
Mon Mar 24 05:19:58 CET 2014


User: dlang 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=24427#p24427

Message: 
----------
what do you mean 'not work'?

if you use that template
?Dynafile_01

it should create a file in /logfiles/test/test__dYYYY-MM-DD_hHH.log (where
YYYY, MM, DD, HH are based on the time in the rsyslog server as it is
processing the log, not anything related to the timestamp in the log)

If the problem is that rsyslog is not creating the file, it could be due to
permission problems. /logfiles would need to be tagged with the appropriate
SELinux tag so that rsyslog is able to write to it.

starting in debug mode (-dn) should show permission failures trying to open
that file.


More information about the rsyslog-notify mailing list