Skip to content

Commit 487c6fa

Browse files
authored
Merge pull request #5853 from sbreingold-ms/wi-502580-batch-1-part-b-defender-xdr-image-reorg
wi-502580-batch-1-part-b-defender-xdr-image-reorg
2 parents 57b62f5 + 6968813 commit 487c6fa

16 files changed

+15
-15
lines changed

defender-xdr/advanced-hunting-query-builder-details.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,58 +38,58 @@ ms.date: 03/28/2025
3838
Advanced hunting in guided mode supports several data types that you can use to fine-tune your query.
3939

4040
- Numbers<br>
41-
![Screenshot of numbers as third condition](/defender/media/guided-hunting/21-numbers.png)
41+
![Screenshot of numbers as third condition](media/advanced-hunting-query-builder-details/21-numbers.png)
4242

4343
- Strings<br>
44-
![Screenshot of strings as third condition](/defender/media/guided-hunting/21-string.png)
44+
![Screenshot of strings as third condition](media/advanced-hunting-query-builder-details/21-string.png)
4545

4646
In the free text box, type the value and press **Enter** to add it. Note that the delimiter between values is **Enter**.<br>
4747

48-
![Screenshot showing different conditions you can use](/defender/media/guided-hunting/23-string2.png)
48+
![Screenshot showing different conditions you can use](media/advanced-hunting-query-builder-details/23-string2.png)
4949

5050
- Boolean<br>
51-
![Screenshot of Boolean values as third condition](/defender/media/guided-hunting/24-boolean.png)
51+
![Screenshot of Boolean values as third condition](media/advanced-hunting-query-builder-details/24-boolean.png)
5252

5353

5454
- Datetime<br>
55-
![Screenshot of datetime values as third condition](/defender/media/guided-hunting/25-datetime.png)
55+
![Screenshot of datetime values as third condition](media/advanced-hunting-query-builder-details/25-datetime.png)
5656

5757

5858
- Closed list - You don't need to remember the exact value you're looking for. You can easily choose from a suggested closed list that supports multi-selection.<br>
59-
![Screenshot of a closed list used as third condition](/defender/media/guided-hunting/26-closed.png)
59+
![Screenshot of a closed list used as third condition](media/advanced-hunting-query-builder-details/26-closed.png)
6060

6161

6262
## Use subgroups
6363
You can create groups of conditions by clicking **Add subgroup**:
6464

65-
![Screenshot highlighting Add subgroup button](/defender/media/guided-hunting/27-subgroup1.png)
65+
![Screenshot highlighting Add subgroup button](media/advanced-hunting-query-builder-details/27-subgroup1.png)
6666

67-
![Screenshot showing use of subgroups](/defender/media/guided-hunting/28-subgroup2.png)
67+
![Screenshot showing use of subgroups](media/advanced-hunting-query-builder-details/28-subgroup2.png)
6868

6969
## Use smart auto-complete for search
7070
Smart auto-complete for searching devices and user accounts is supported.
7171
You don't need to remember the device ID, full device name, or user account name. You can start typing the first few characters of the device or user you're looking for and a suggested list appears from which you can choose what you need:
7272

73-
![Screenshot showing smart auto-complete support](/defender/media/guided-hunting/29-smart-auto.png)
73+
![Screenshot showing smart auto-complete support](media/advanced-hunting-query-builder-details/29-smart-auto.png)
7474

7575
## Use `EventType`
7676
You can even look for specific event types like all failed logons, file modification events, or successful network connections by using the **EventType** filter in any section where it is applicable.
7777

7878
For instance, if you want to add a condition that looks for registry value deletions, you can go to the **Registry Events** section and select **EventType**.
7979

80-
![Screenshot of various EventTypes](/defender/media/guided-hunting/30-eventtype1.png)
80+
![Screenshot of various EventTypes](media/advanced-hunting-query-builder-details/30-eventtype1.png)
8181

8282
Selecting EventType under Registry Events allows you to choose from different registry events, including the one you're hunting for, **RegistryValueDeleted**.
8383

84-
![Screenshot of EventType RegistryValueDeleted](/defender/media/guided-hunting/31-eventtype2.png)
84+
![Screenshot of EventType RegistryValueDeleted](media/advanced-hunting-query-builder-details/31-eventtype2.png)
8585

8686
> [!NOTE]
8787
>`EventType` is the equivalent of `ActionType` in the data schema, which users of advanced mode might be more familiar with.
8888
8989
## Test your query with a smaller sample size
9090
If you're still working on your query and would like to see its performance and some sample results quickly, adjust the number of records to return by picking a smaller set through the **Sample size** dropdown menu.
9191

92-
![Screenshot of sample size dropdown menu](/defender/media/guided-hunting/32-sample-size.png)
92+
![Screenshot of sample size dropdown menu](media/advanced-hunting-query-builder-details/32-sample-size.png)
9393

9494
The sample size is set to 10,000 results by default, which is the maximum number of records that can be returned in hunting. However, we highly recommend lowering the sample size to 10 or 100 to quickly test your query, as doing so consumes less resources while you're still working on improving the query.
9595

@@ -98,15 +98,15 @@ Then, once you finalize your query and are ready to use it to get all the releva
9898
## Switch to advanced mode after building a query
9999
You can click on **Edit in KQL** to view the KQL query generated by your selected conditions. Editing in KQL opens a new tab in advanced mode, with the corresponding KQL query:
100100

101-
![Screenshot highlighting Edit in KQL button](/defender/media/guided-hunting/33-edit-kql.png)
101+
![Screenshot highlighting Edit in KQL button](media/advanced-hunting-query-builder-details/33-edit-kql.png)
102102

103-
![Screenshot showing same query from guided to advanced](/defender/media/guided-hunting/33-edit-kql-2.png)
103+
![Screenshot showing same query from guided to advanced](media/advanced-hunting-query-builder-details/33-edit-kql-2.png)
104104

105105
In the above example, the selected view is All, therefore you can see that the KQL query searches all tables that have file properties of name and SHA256, and in all the relevant columns covering these properties.
106106

107107
If you change the view to **Emails & collaboration**, the query is narrowed down to:
108108

109-
![Screenshot showing same query from guided to advanced but with limited domain](/defender/media/guided-hunting/34-edit-kql-3.png)
109+
![Screenshot showing same query from guided to advanced but with limited domain](media/advanced-hunting-query-builder-details/34-edit-kql-3.png)
110110

111111
## See also
112112
- [Advanced hunting quotas and usage parameters](advanced-hunting-limits.md)

defender/media/guided-hunting/21-numbers.png renamed to defender-xdr/media/advanced-hunting-query-builder-details/21-numbers.png

File renamed without changes.

defender/media/guided-hunting/21-string.png renamed to defender-xdr/media/advanced-hunting-query-builder-details/21-string.png

File renamed without changes.

defender/media/guided-hunting/23-string2.png renamed to defender-xdr/media/advanced-hunting-query-builder-details/23-string2.png

File renamed without changes.

defender/media/guided-hunting/24-boolean.png renamed to defender-xdr/media/advanced-hunting-query-builder-details/24-boolean.png

File renamed without changes.

defender/media/guided-hunting/25-datetime.png renamed to defender-xdr/media/advanced-hunting-query-builder-details/25-datetime.png

File renamed without changes.

defender/media/guided-hunting/26-closed.png renamed to defender-xdr/media/advanced-hunting-query-builder-details/26-closed.png

File renamed without changes.

defender/media/guided-hunting/27-subgroup1.png renamed to defender-xdr/media/advanced-hunting-query-builder-details/27-subgroup1.png

File renamed without changes.

defender/media/guided-hunting/28-subgroup2.png renamed to defender-xdr/media/advanced-hunting-query-builder-details/28-subgroup2.png

File renamed without changes.

defender/media/guided-hunting/29-smart-auto.png renamed to defender-xdr/media/advanced-hunting-query-builder-details/29-smart-auto.png

File renamed without changes.

0 commit comments

Comments
 (0)