Microsoft Defender XDR
Hunting and detection

Advanced Hunting Query Language

In brief

The article now uses clearer terms for the advanced hunting schema and time zone settings, identifies the Get started pane on the Advanced hunting page in the Microsoft Defender portal, and fixes link wording. The article date was updated to July 2, 2026.

What Defender admins need to know

No administrator action is required; the clarified guidance can help administrators direct users to the correct portal location.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

[!INCLUDE Microsoft Defender XDR rebranding]

Advanced hunting is based on the Kusto query language. You can use Kusto operators and statements to construct queries that locate information in a specialized advanced hunting schema.

Watch this short video to learn some handy Kusto query language basics.

| where Timestamp > ago(7d) ```

Check specific processes

| makeset | Return a dynamic (JSON) array of the set of distinct values that Expr takes in the group. | | find | Find rows that match a predicate across a set of tables. |

To see a live example of these operators, run them from the Get started sectionpane on the Advanced hunting page in advanced hunting.the Microsoft Defender portal.

Understand data types

| int | 32-bit integer | | long | 64-bit integer |

To learn more about Kusto scalar data types, see Kusto scalar data types.

Get help as you write queries