
Example: Searching for exact matches
Search expression
example
Matches
example
Example
EXAMPLE
Does not match
examples
example.com
query-by-example
exam
Combining search keywords
You can use boolean operators -
AND
,
OR
, and
NOT
- to combine search keywords. Note that
the boolean operators are case sensitive, and must be in all caps. More complex search
expressions can also be constructed with parentheses.
Example: Combining keywords in search
Search expression
keyword1 AND keyword2
Matches
(returns log messages that contain both keywords)
Search expres-
sion
keyword1 OR keyword2
Matches
(returns log messages that contain at least one of the
keywords)
Search expression
keyword1 AND NOT keyword2
Matches
(returns log messages that contain only
keyword1
)
To search for expressions that can be interpreted as boolean operators (for
example:
AND
), use the following format:
message:AND
.
SSB 5.3.0 User Guide
Searching log messages
21