How to search for 'not' contais text

14 views
Skip to first unread message

Wayne Brantley

unread,
Nov 12, 2014, 4:20:06 PM11/12/14
to get...@googlegroups.com
The main log entry in Seq shows something like "Exception wrapped with SafeException" and "Exception allowed with NonSafeException".

Now, I created a view that is exceptions only:  Has(@Exception).
I want to now filter that view, I can type 'SafeException' in the filter and it shows me all Exceptions that have that in the text.

All good....

How do I filter and show all exceptions, EXCEPT the ones that have 'SafeException' in the text?

I tried using properties to do this, a not-contains, etc - but that text seems to be locked away inside this:

  "MessageTemplateTokens": [
    {
      "Text": "Exception wrapped with SafeException"
    }
  ],

Any help?

nblum...@nblumhardt.com

unread,
Nov 12, 2014, 5:03:37 PM11/12/14
to get...@googlegroups.com
Hi Wayne-

You can do this with:

!"SafeException"

("SafeException" is an expression that matches text, while ! is the general NOT operator you can apply anywhere.)

Cheers,
Nick

Wayne Brantley

unread,
Nov 12, 2014, 6:16:13 PM11/12/14
to get...@googlegroups.com
Perfect.
Reply all
Reply to author
Forward
0 new messages