Query Details
DeviceEvents | where ActionType contains "RemoteDesktopConnection" | extend location = geo_info_from_ip_address(LocalIP) | where location contains "Country" | project Timestamp, DeviceName, ActionType, LocalIP, LocalPort, location,ReportId, DeviceId
This query looks for device events related to remote desktop connections. It then adds the location information based on the local IP address and filters for events that have a country location. Finally, it selects specific columns to display in the results: Timestamp, DeviceName, ActionType, LocalIP, LocalPort, location, ReportId, and DeviceId.

Sergio Albea
Released: June 7, 2024
Tables
Keywords
Operators