Microsoft Defender XDR
Hunting and detection

Advanced Hunting Overview

In brief

The documentation now distinguishes 30-day native Defender XDR data retention from Microsoft Sentinel analytics-tier retention. It explains that onboarding a Sentinel workspace and configuring table retention can support longer retention, while streaming to external services remains another option.

What Defender admins need to know

Administrators planning to hunt data older than 30 days must account for Sentinel workspace onboarding and configured analytics-tier retention.

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 a query-based threat hunting tool that you use to explore up to 30 days of raw Defender XDR data. When you onboard a Microsoft Sentinel workspace, you can also query analytics-tier data according to the retention configured for the workspace. You can proactively inspect events in your network to locate threat indicators and entities. The flexible access to data enables unconstrained hunting for both known and potential threats.

Advanced hunting supports two modes: guided and advanced. Use guided mode if you're not yet familiar with Kusto Query Language (KQL) or if you prefer the convenience of a query builder. Use advanced mode if you're comfortable using KQL to create queries from scratch.

Quota or parameter Size Refresh cycle Description
Date range 30 days for native Defender data unless streamed throughXDR data. Microsoft Sentinel table retention depends on the configured analytics-tier retention. Every query Each query can look up native Defender XDR data from up to the past 30 days, or longer if streamed throughdays. When you onboard a Microsoft Sentinel workspace, the available date range for its tables depends on the configured analytics-tier retention.
Result set 100,000 rows Every query Each query can return up to 100,000 records.
Timeout 10 minutes Every query Each query can run for up to 10 minutes. If it doesn't complete within 10 minutes, the service displays an error.
CPU resources Based on tenant size Every 15 minutes The portal displays a warning whenever a query runs and the tenant consumes over 10% of allocated resources. Queries are blocked if the tenant reaches 100% until after the next 15-minute cycle.
Results size limit 64 MB Every query The limit for overall size of the results data, which doesn't just refer to the number of records. Factors such as the number of columns, data types, and field lengths also contribute to the result size.

If the query result exceeds the 64-MB size limit, the portal returns the maximum number of records it can within this limit and displays a message indicating that the displayed results are partial due to size constraints.

In the unified Microsoft Defender portal, you can run queries over Microsoft Sentinel tables by onboarding a workspace. Log Analytics workspace limits and the configured analytics-tier retention therefore also apply. Data stored exclusively in the Microsoft Sentinel data lake isn't available in advanced hunting. Use data lake exploration to query that data.

For advanced hunting in multitenant organizations, see Quotas in advanced hunting in multitenant management.

Queries

Advanced hunting uses UTC (Universal Time Coordinated)(Coordinated Universal Time) for all data.

Screenshot of the custom time range option in advanced hunting query settings.

Microsoft Defender converts advanced hunting results to the timezone you set.

Extend data retention with Streaming APIs

To extendretain supported Defender XDR hunting tables for more than 30 days, onboard a Microsoft Sentinel workspace and configure the 30-day retentiontables' analytics-tier retention. For more information, see Configure table settings in Microsoft Sentinel.

You can also stream Defender XDR data to external services for advanced hunting, see the following resources:longer retention. For more information, see: