Graph query results - Cortex XDR enables you to generate helpful visualizations of your XQL query results. - Administrator Guide - Cortex XDR - Cortex - Security Operations

Cortex XDR 5.x Documentation

Product
Cortex XDR
License
XDR + Cloud
Creation date
2025-07-13
Last date published
2026-06-11
Category
Administrator Guide
Abstract

Cortex XDR enables you to generate helpful visualizations of your XQL query results.

Notice

Building Cortex Query Language (XQL) queries in the Query Builder requires a Data Collection add-on.

To help you better understand your Cortex Query Language (XQL) query results and share your insights with others, Cortex XDR enables you to generate graphs and outputs of your query data directly from query results page.

Tip

Alternatively, you can use the Cortex Agentic Assistant to generate custom graphs and charts using natural language prompts. By simply prompting the agent, it will build and execute the query, returning the visual representation. For more information, see Use natural language to query and visualize your data.

  1. Select Investigation & ResponseSearchQuery BuilderXQL.

  2. Run an XQL query.

    Example 138. 

    Enter the following query:

    dataset = xdr_data 
    | fields action_total_upload, _time 
    | limit 10

    The query returns the action_total_upload, a number field, and _time, a string field, for up to 10 results.


  3. In the Query Results section, to graph the results either:

  4. (Optional) Create a custom widget.

    To easily track your query results, you can create custom widgets based on the query results. The custom widgets you create can be used in your custom dashboards and reports. For more information, see Create custom XQL widgets.

    Select Save to Widget Library to pivot to the Widget Library and generate a custom widget based on the query results.