Boolean and grouping operators
There are a few operators that you can use to refine your searches (note that these operators must be in uppercase so as not to be considered search terms):
- AND is implied between terms. For instance,
error mary
(two words separated by a space) is the same aserror AND mary
. - OR allows you to specify multiple values. For instance,
error OR mary
means find any event that contains either word. - NOT applies to the next term or group. For example,
error NOT mary
would find events that containerror
but do not containmary
. - The quote marks ("") identify a phrase. For example,
"Out of this world"
will find this exact sequence of words.Out of this world
will find any event that contains all of these words, but not necessarily in that order. - Parentheses ( ( ) ) are used for grouping terms. Parentheses can help avoid confusion in logic. For instance, these two statements are equivalent:
bob error OR warn NOT debug
(bob AND (error OR warn)) AND NOT debug
- The equal sign (=) is...