[syslog-ng] Quick filter question

Frank Collette FCollette at trustmark.com
Tue Nov 8 17:00:47 CET 2011


I believe it does, but I use it just in case :)


Thanks, Frank



From:   "Lay, James" <james.lay at wincofoods.com>
To:     "Syslog-ng users' and developers' mailing list" 
<syslog-ng at lists.balabit.hu>
Date:   11/08/2011 09:48 AM
Subject:        Re: [syslog-ng] Quick filter question
Sent by:        syslog-ng-bounces at lists.balabit.hu



Hi Frank,
 
Thanks for the quick response…my last little bit is, I was under the 
impression that the message() directive automatically assumed the value 
was already in the message only, and value() wasn’t required?  Am I off on 
this?  Thanks again.
 
James
 
From: syslog-ng-bounces at lists.balabit.hu [
mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Frank Collette
Sent: Tuesday, November 08, 2011 8:36 AM
To: Syslog-ng users' and developers' mailing list
Subject: Re: [syslog-ng] Quick filter question
 

filter f_firewall { 
        not ( 
               program("firewall" flags(ignore-case)) and 
               message("169\.254\.[0-9]+\.[0-9]+" value("MESSAGE")); 
                ) 
}; 


Thanks, 

Frank E. Collette IV 
Technical Services
Systems Administrator II
Trustmark National Bank
Office: 601-208-7517 
Fax: 601-208-6105 
fcollette at trustmark.com 



From:        "Lay, James" <james.lay at wincofoods.com> 
To:        <syslog-ng at lists.balabit.hu> 
Date:        11/08/2011 09:14 AM 
Subject:        [syslog-ng] Quick filter question 
Sent by:        syslog-ng-bounces at lists.balabit.hu 




Hey all! 
  
Real quick…trying to filter OUT firewall hits that have say…169.254.  Will 
this do the trick? 
  
filter f_firewall { 
        not program (firewall flags(ignore-case)); 
        and not message("169\.254\.[0-9]+\.[0-9]+"); 
}; 
  
Thanks all. 
  
James
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: 
http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: 
http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20111108/d7dad199/attachment-0001.htm 


More information about the syslog-ng mailing list