Page 1 of 1

How to exlcude log entries with specific keyword

Posted: Thu Feb 08, 2018 11:26 am
by dlukinski
Hello Nagios LOG support

Say we've configured broad dashboard query such as "ERROR", where we want to exclude ERROR meages containing specifically "BIP2488E" and "BIP2230E" ?

How we do that?

Thank you

Re: How to exlcude log entries with specific keyword

Posted: Thu Feb 08, 2018 1:17 pm
by cdienger
The not operator(!) can be used. For example, searching for ERROR but not "BIP2488E" and "BIP2230E":

ERROR !BIP2488E !BIP2230E

Re: How to exlcude log entries with specific keyword

Posted: Mon Feb 12, 2018 4:31 pm
by dlukinski
cdienger wrote:The not operator(!) can be used. For example, searching for ERROR but not "BIP2488E" and "BIP2230E":

ERROR !BIP2488E !BIP2230E
This worked, Thank you!

Re: How to exlcude log entries with specific keyword

Posted: Mon Feb 12, 2018 5:00 pm
by cdienger
Glad to hear!