AI natural-language query
If you are not yet familiar with the query syntax, you can describe the data you want to find in plain language, and AI will convert it into a query for you.1
Enter AI query
Click the magic wand icon in the query input to enter AI natural-language query mode. Once active, the input border is highlighted to clearly distinguish it from regular query mode.
2
Describe your intent
Describe the data you want to find in plain language (Chinese or English supported), then press Enter to convert. For example:AI converts it into:
3
Preview and apply
AI generates the corresponding query and shows a preview. When it looks right, click Apply and the query takes effect immediately; if the result is not what you expected, refine your description and press Enter again to regenerate, or click Undo to revert to the state before applying.
AI generates a standard query (DQL) using the same fields and syntax as manual queries (see below). You do not need to remember field names — AI automatically picks the queryable fields based on the current event type.
Append instead of replace
When the input already contains query conditions, the AI-generated conditions are appended to the existing query rather than overwriting it. This lets you build on an existing query and add filters incrementally in plain language. If the query is currently empty, the generated result is applied directly. If your description fits a different event type better, AI prompts you to switch (for example, “Switch event type to Errors”) and generates the query within that event type’s queryable fields.Query Basics
Queries support two types of terms:Boolean Operators
AI Natural-Language Queries
When you do not want to write DQL by hand, let AI turn a natural-language request into query conditions. In the RUM Explorer query field, click the AI Natural-Language Query icon on the left. You can also press ⌘ + Enter from the normal query mode, or Ctrl + Enter on Windows and Linux.1
Describe what you want to find
Use natural language, such as “errors on Chrome,” “resource requests slower than 2 seconds,” or “checkout pages from the last 24 hours.” Press Enter to generate a preview.
2
Review the preview
The preview shows the DQL condition to add. When the request better fits another event type or time range, it also shows the event-type or time-range change.
3
Apply or undo
Click Apply, Append to Query, or Switch and Apply to confirm the change. After applying it, the confirmation message offers Undo to restore the previous query, event type, and time range.
Time expressions such as “last hour,” “yesterday,” and “past 7 days” update the Explorer time picker; they are not written as DQL conditions such as
client_time. Performance-duration conditions remain DQL, for example view_loading_time:>2s.AI natural-language queries support a maximum time range of 14 days. If the requested range is longer, the preview indicates that it has been truncated to the most recent 14 days; after you apply it, the time picker uses that truncated range. A relative range becomes the past 14 days, while an absolute range keeps the requested end time and starts 14 days earlier.
Full-Text Search
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:
Numeric Search
For numeric type attributes, comparison operators can be used:Complex Query Examples
- Error Analysis
- Performance Analysis
- Error Requests
- Page Behavior
Search for Warning type errors that occurred in the wallet page:
WeChat Mini Program-Specific Attributes
For View events collected from the WeChat Mini Program platform, the following queryable attributes are available in addition to the sharedview_* fields. They help diagnose cold-start latency, setData cost, and lifecycle-stage durations:
For example, to find Mini Program pages with a first-screen render longer than 2 seconds:
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
Next Steps
RUM Explorer Overview
Learn about Explorer core features
Distributed Tracing
Learn distributed tracing best practices