Example: Using parentheses in search
Use parentheses to create more complex search expressions:
Search
expression
(keyword1 OR keyword2) AND keyword3
Matches
(returns log messages that contain either keyword1 and keyword3,
or keyword2 and keyword3)
Using wildcard searches
You can use the
?
and
*
wildcards in your search expressions.
Example: Using wildcard ? in search
The
?
(question mark) wildcard means exactly one arbitrary character. Note that it
does not work when trying to find non-UTF-8 or multibyte characters. If you want to
search for these characters, the expression
??
might work, or you can use the
*
wildcard instead.
Search expression
example?
Matches
example1
examples
Does not match
example.com
example12
query-by-example
example?
Search expression
?example?
Matches
1example2
Does not match
example.com
example12
query-by-example
Search expression
example??
SSB 5.3.0 User Guide
Searching log messages
22