Skip to content

Query Workbench


In the console, click Shortcut > Query Tools in the lower-left corner of the console (shortcut keys Alt+Q or option+Q) to start a DQL query.

Start a Query

  1. Enter a query statement in the DQL query window;
  2. Click "Run";
  3. View the query results in "Results".

AI-generated DQL

In the Query Workbench, switch to DQL edit mode to directly describe the data type, data source, filter conditions, and statistical goal, then click Generate DQL to convert the request into a complete query. If no time is specified, the page time range is used, making it suitable for quickly drafting detail, grouped statistics, or trend queries.

The generated result is written to the corresponding query tab, where you can continue editing or copy it; it is not automatically executed or used to refresh existing results. After confirming the fields, units, and statistical definitions, click Run to view the results. This entry point requires the workspace AI feature to be enabled and is available only in DQL edit mode; the generation process does not verify workspace fields one by one. For detailed limitations, see AI-assisted DQL generation.

Results

Query results can be displayed in table or JSON format.

In grouped table results, you can export the current page data, or rerun the query and export 1,000, 5,000, or 10,000 unsampled records. The query time and file generation time for a full export may be longer than for a current page export.

Query History

You can view up to 100 query history records from the last 7 days and perform fuzzy searches on query statements.

Further Reading