WhaTap Log Search Query Syntax
Tip
This document describes the WhaTap log search query syntax used in the Log Explorer.
-
Equal
field : value
-
Not
not field : value
-
Wildcard (Only applicable to
String-type fields; do not use"around the value)field : val*
-
Exist
field : *
-
Range (Only applicable to
Number-type fields)- Operators supported:
<,>,<=,>= - Example:
field < 30 and field >= 10
- Operators supported:
-
Combining Multiple Queries
- AND example:
field < 30 and field >= 10 - OR example:
field < 30 or field >= 10
- AND example:
-
Grouping
- Example:
(field < 30 or field >= 10) and other : 70
- Example:
-
Escaping Special Characters
- Special characters supported by Lucene escape:
&&||!( ){ }^"~*?:\/ - Use
\before the character to escape - Example: To search
(1+1):2, use\\(1\\+1\\)\\:2
- Special characters supported by Lucene escape:
Search Index Field Types
Supported field types: Number and String
-
Number: Numeric values such as long, double, float- Use syntax like
field : "value"
- Use syntax like
-
String: Full text such as email body- Use syntax like
field : value
- Use syntax like
-
Boolean: True or False- Use as
field : trueorfield : false
- Use as