Query Basics
Queries support two types of terms:| Type | Description | Example |
|---|---|---|
| Single Term | A single word | test, hello |
| Phrase | A group of words surrounded by double quotes | "hello flashduty" |
Boolean Operators
| Operator | Description | Example |
|---|---|---|
AND | Intersection: both terms must be in the selected view (default operator) | error AND timeout |
OR | Union: either term is contained in the selected view, must be wrapped in () | (error OR warning) |
- | Exclusion: the following term is not in the view | error -timeout |
Full-Text Search
| Query | Description |
|---|---|
hello | Fields that exactly match hello |
hello* | Fields that start with hello |
*hello | Fields that end with hello |
*hello* | Fields that contain hello |
"hello world" | Fields that exactly match "hello world" |
Escape Special Characters
When searching for field values containing special characters, you need to escape them with backslash\ or use double quotes.
The following characters are considered special:
:, ", *, -, >, <, ,, (, ), [, ], \ and spaceAttribute Search
Useattribute:term syntax to search specific attributes:
| Query | Description |
|---|---|
browser_name:Chrome | Search for browsers with value Chrome |
view_name:*/detail | Search for view names ending with /detail |
-resource_status_code:0 | Search for resources with status code not 0 |
os_name:"Mac OS X" | Search for OS names with value "Mac OS X" |
Numeric Search
For numeric type attributes, comparison operators can be used:| Query | Description |
|---|---|
session_error_count:>5 | Search for sessions with error count greater than 5 |
view_time_spent:>=1.00min | Search for views with time spent greater than 1min |
session_view_count:[2 TO 8] | Search for sessions with view count between 2 and 8 |
Complex Query Examples
- Error Analysis
- Performance Analysis
- Error Requests
- Page Behavior
Search for Warning type errors that occurred in the wallet page:
Advanced Search Tips
Time Range Search
Time Range Search
Perform precise searches combined with time range:
User Behavior Search
User Behavior Search
Search for user click behavior on the checkout page:
Device Type Search
Device Type Search
Search for views with loading time over 3 seconds on mobile devices:
Geographic Location Search
Geographic Location Search
Search for sessions with errors in China region:
Best Practices
Use Quotes for Phrases
Ensure exact matching of multi-word phrases
Use Wildcards Wisely
Avoid overly broad search conditions
Combine Multiple Conditions
Build precise queries through AND/OR operators
Use Auto-Complete
Reduce input errors and improve search accuracy