Articles → MICROSOFT AZURE → Query The Log Analytics Workspace In Azure
Query The Log Analytics Workspace In Azure
Different Components To Query Log Analytics Workspace
Component | Purpose |
---|
Azure Monitor Agent (AMA) | The worker who collects data on your Virtual Machine. |
Data Collection Rule (DCR) | The instructions given to the agent (what to collect, where to send). |
Log Analytics Workspace | The destination where the agent sends the data. |
Log Analytics (KQL) | Used to analyse collected telemetry and log data. |
Create A Virtual Machine
Create An Azure Monitor Service
Query Database
Heartbeat
| where TimeGenerated > ago(1m)
| where Computer == "vm1"
| summarize LatestHeartbeat=max(TimeGenerated) by Computer
Posted By - | Karan Gupta |
|
Posted On - | Thursday, June 9, 2022 |
|
Updated On - | Tuesday, May 20, 2025 |