Skip to content

Commit d28c02b

Browse files
authored
Merge pull request #2096 from MicrosoftDocs/DebLanger-patch-3
Update advanced-hunting-deviceinfo-table.md
2 parents 9bab176 + f2a8ecf commit d28c02b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

defender-xdr/advanced-hunting-deviceinfo-table.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ms.custom:
1818
- cx-ti
1919
- cx-ah
2020
ms.topic: reference
21-
ms.date: 01/16/2024
21+
ms.date: 12/04/2024
2222
---
2323

2424
# DeviceInfo
@@ -39,7 +39,7 @@ For information on other tables in the advanced hunting schema, [see the advance
3939

4040
| Column name | Data type | Description |
4141
|-------------|-----------|-------------|
42-
| `Timestamp` | `datetime` | Date and time when the event was recorded |
42+
| `Timestamp` | `datetime` | Last date and time recorded for the device |
4343
| `DeviceId` | `string` | Unique identifier for the device in the service |
4444
| `DeviceName` | `string` | Fully qualified domain name (FQDN) of the device |
4545
| `ClientVersion` | `string` | Version of the endpoint agent or sensor running on the device |
@@ -89,8 +89,9 @@ You can use the following sample query to get the latest state of a device:
8989
```kusto
9090
// Get latest information on user/device
9191
DeviceInfo
92+
| extend IngestionTime = ingestion_time()
9293
| where DeviceName == "example" and isnotempty(OSPlatform)
93-
| summarize arg_max(Timestamp, *) by DeviceId
94+
| summarize arg_max(IngestionTime, *) by DeviceId
9495
```
9596

9697
## Related topics

0 commit comments

Comments
 (0)