How do you make a 'NOT LIKE' filter in Chainsaw?

420 Views Asked by At

For example, I have a filter: MSG LIKE QueryAdvisor.* and I want to change it to see all of the events that do not match.

1

There are 1 best solutions below

1
On BEST ANSWER

use: ! ( msg like QueryAdvisor.* )

Note the use of parens around the expression being negated..

Try out the latest developer snapshot here, which doesn't require spaces around operators and operands or spaces around parens..

http://people.apache.org/~sdeboy