QuestionQ170

VerifiedMonitor and maintain Azure resources

You have an Azure subscription named Subscription1.

You deploy a Linux virtual machine named VM1 to Subscription1.

You need to monitor the metrics and the logs of VM1.

What should you use?

Explanation

Install the Azure Monitor Agent on VM1 and associate it with a data collection rule (DCR). The DCR defines what to collect from the guest OS (performance counters for metrics, plus Syslog and file-based logs) and where to send it, such as a Log Analytics workspace. Microsoft calls the Azure Monitor Agent the supported agent for collecting guest OS data in Azure Monitor. The Linux Diagnostic Extension (LAD) is part of the Azure Diagnostics extension, which was retired on March 31, 2026 and is no longer supported; Microsoft says not to use it for new deployments. Azure HDInsight (big-data analytics) and Azure Analysis Services (data modeling) don't monitor VMs. The AzurePerformanceDiagnostics extension (PerfInsights) is a troubleshooting tool for Windows VMs only, not ongoing collection of metrics and logs.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!