[c-nsp] how to filter some specific logging message

Ivan Pepelnjak ip at ioshints.info
Wed Apr 1 06:55:52 EDT 2009


The "drops" keyword expects a regular expression. You should use "fem"
instead of "*fem" (or maybe ".*fem").

Ivan
 
http://www.ioshints.info/about
http://blog.ioshints.info/ 

> -----Original Message-----
> From: Manu Chao [mailto:linux.yahoo at gmail.com] 
> Sent: Wednesday, April 01, 2009 12:26 PM
> To: cisco-nsp at puck.nether.net
> Subject: [c-nsp] how to filter some specific logging message
> 
> Is it possible to filter some specific syslog message with 
> logging filter command or with logging discriminator?
> 
> There are some "cosmetic" bugs that I need to filter...
> 
> Example: i don't want the specific message message including 
> "fem" to be sent to my remote syslog server.
> 
> I try that configuration but no way :( may be a syntax 
> problem may be not possible to filter?
> 
> logging discriminator nolog msg-body drops *fem logging host 
> x.x.x.x discriminator nolog
> 
> Thanks for your help
> 
> 



More information about the cisco-nsp mailing list