[rsyslog-notify] Forum Thread: Re: Converting default rules to RainerScript - (Mode 'reply')

noreply at adiscon.com noreply at adiscon.com
Mon May 4 03:13:13 CEST 2015


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

Message: 
----------
easy stuff first,

there is no need to convert the priority filtering, it works as-is. the
file outputs can either remain as-is or you can convert them to 

action(type="omfile" file="/var/log/mail.log")

If you are wanting to set the user, group, createmode, etc you need to
either do it in each action, or set the defaults in the module load. see
<!-- m --><a class="postlink"
href="http://www.rsyslog.com/doc/v8-stable/configuration/modules/omfile.html">http://www.rsyslog.com/doc/v8-stable/co
... mfile.html</a><!-- m --> for details

If you just defien rules outside of any ruleset definition, they will be
part of the default ruleset.

a few other things will need to be set as part of the global() item <!-- m
--><a class="postlink"
href="http://www.rsyslog.com/doc/v8-stable/rainerscript/global.html">http://www.rsyslog.com/doc/v8-stable/ra
... lobal.html</a><!-- m -->


More information about the rsyslog-notify mailing list