[rsyslog-notify] Forum Thread: Re: fwd local msg, two listeners to remote server w/TLS, Que - (Mode 'reply')

noreply at adiscon.com noreply at adiscon.com
Tue Jun 21 19:48:40 CEST 2016


User: atticus 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=26639#p26639

Message: 
----------
Thank you very much.  I'll use that approach, then.  Just a few syntax
questions.

1)  After my action statement

action(type="omfwd"...
etc.

I have a second action statement

action( type ="omfile" ....
etc.

are there any separation characters between the two action statements?  for
example, )
or is the parser smart enough to know the next action statement is the
separator?

For the second ruleset, I have

#  ruleset (name=”fwd2”)	{
call fwd1		
#
kern.* action(type=”omfile” file=”/var/log/messages);
*.info;mail.none;authpriv.none;cron.none action(type=”omfile” \
/var/log/messages);
etc

}
#
call fwd2

Does that look correct?

Thank you again.


More information about the rsyslog-notify mailing list