when you start rsyslog, it should be giving you error messages about what in the config file it doesn't understand.

I think you are mixing syntax here, try == instead of isequal

David Lang

On Tue, 27 Aug 2013, Francisco Manuel Cardoso wrote:

Date: Tue, 27 Aug 2013 22:03:10 +0100
From: Francisco Manuel Cardoso <[email protected]>
To: [email protected]
Subject: [rsyslog] rsyslog not respecting rules

Hi Guys,



Sorry the 1st post is already nagging, but I've assembled quite a few
syslogs but this time I went for an more "hardcore" install with less and
less packages.

Rsyslog is all good and is forwarding my events to the mysql database or any
other destination as long as its "*", if I try to define a rule such as ;



if $fromhost-ip isequal '192.168.1.128' then
:ommysql:localhost,rsyslog_so,username,password



It simply doesn't "divide" them into their diferent destinations.



Is there any package underlying that is needed ?



Cheers



Francisco

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to