Azure Monitor, Log Analytics, Application Insights and Alerts: Watching Your Cloud

Microsoft Azure Fundamentals AZ 900 50 min min read Updated: Nov 17, 2026 Beginner
Azure Monitor, Log Analytics, Application Insights and Alerts: Watching Your Cloud
Beginner Topic 3 of 3

Azure Monitor

The central service that collects, analyzes and acts on data from your Azure and other resources.

Data typeMeaningExample
MetricsNumbers over time, near real timeCPU percent every minute
LogsRecords of events and details you can queryFailed sign-ins, errors

Parts

PartUse
Metrics ExplorerChart metrics
Log AnalyticsQuery logs using KQL (Kusto Query Language)
Application InsightsMonitor application performance: requests, failures, slow code
AlertsNotify or act when a condition is met
Workbooks and dashboardsVisual reports

A Simple KQL Query

kusto Heartbeat | where TimeGenerated > ago(1h) | summarize count() by Computer | order by count_ desc

Alerts and Action Groups

  • An alert rule watches a metric or log query, for example CPU above 80 percent for 5 minutes
  • An action group says what to do: send email, SMS, push, call a webhook or run automation

Create a CPU Alert (Steps)

  1. Open the VM, then Alerts, then Create alert rule
  2. Condition: Percentage CPU greater than 80 for 5 minutes
  3. Action: choose or create an action group with your email
  4. Name it and create

Practice

  1. Metrics or logs: which is better for a live CPU chart?
  2. What is an action group?
  3. Which tool monitors application code performance?

Conclusion

Azure Monitor gathers metrics and logs. Use Log Analytics to query, Application Insights for apps and alerts with action groups to be told when something is wrong.

Quick Summary: Monitor; parts; KQL; alerts; steps.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators