Edit

Share via


Monitor Azure resources with Azure Monitor

When you have critical applications and business processes that rely on Azure resources, you want to monitor those resources for their availability, performance, and operation. Azure Monitor is a full-stack monitoring service that provides a complete set of features to monitor your Azure resources. You can also use Azure Monitor to monitor resources in other clouds and on-premises.

In this article, you learn about:

  • Menu options in the Azure portal for monitoring Azure resources.
  • Azure Monitor tools that are used to collect and analyze data.
  • Data collected by Azure Monitor to monitor different Azure resources.

This article describes the menu options related to monitoring when you select a resource in the Azure portal. You can also access Azure Monitor features from the Monitor menu for all Azure resources.

Different Azure services might have slightly different experiences, but they share a common set of monitoring options in the portal. These menu items include Overview and Activity log and multiple options in the Monitoring section of the menu.

Screenshot that shows the Overview and Activity log menu items.

Overview page

The Overview page includes details about the resource and often its current state. Many Azure services have a Monitoring tab that includes charts for a set of key metrics. Charts are a quick way to view the operation of the resource. You can select any of the charts to open them in Metrics Explorer for more detailed analysis.

To learn how to use Metrics Explorer, see Analyze metrics for an Azure resource.

Screenshot that shows the Overview page.

Activity log

The Activity log menu item lets you view entries in the activity log for the resource. These are subscription-level events that track operations for each Azure resource, for example, creating a new resource or starting a virtual machine. Activity log events are automatically generated and collected for viewing in the Azure portal.

Screenshot that shows an activity log.

Insights

The Insights menu item opens the insight for the resource if the Azure service has one. Insights provide a customized monitoring experience built on the Azure Monitor data platform and standard features. Examples include Application insights, Container insights, and Virtual machine insights.

Screenshot that shows the Insights page.

Alerts

The Alerts page shows you any recent alerts that were fired for the resource. Alerts proactively notify you when important conditions are found in your monitoring data and can use data from either Metrics or Logs. To learn how to create alert rules and view alerts, see Create a metric alert for an Azure resource or Create a log search alert for an Azure resource.

Screenshot that shows the Alerts page.

Metrics

The Metrics menu item opens Metrics Explorer which allows you to analyze platform metrics for the resource. These are numerical values that are automatically collected at regular intervals and describe some aspect of a resource at a particular time. You can work with individual metrics or combine multiple metrics to identify correlations and trends. This is the same Metrics Explorer that opens when you select one of the charts on the Overview page. To learn how to use Metrics Explorer, see Analyze metrics for an Azure resource.

Screenshot that shows Metrics Explorer.

Diagnostic settings

The Diagnostic settings page lets you create a diagnostic setting to collect the resource logs for your resource. Resource logs provide insight into operations that were performed by an Azure resource, such as getting a secret from a key vault or making a request to a database. Resource logs are generated automatically, but you must create a diagnostic setting to send them to a Log Analytics workspace or some other destination.

To learn how to create a diagnostic setting, see Collect and analyze resource logs from an Azure resource.

Screenshot that shows the Diagnostic settings page.

Logs

The Logs menu item opens Log Analytics to analyze the resource logs and other data collected by Azure Monitor. Log Analytics is a powerful query engine that allows you to analyze large amounts of data and create custom queries to find specific information. Write your own custom queries using Kusto Query Language (KQL) or select from prebuilt queries to get started quickly.

There won't be any logs to query for the resource until you create a diagnostic setting to send its resource logs to a Log Analytics workspace. To learn how to create a diagnostic setting, see Collect and analyze resource logs from an Azure resource.

Screenshot that shows the Logs menu item with a KQL query for a sample resource.

Next steps

Now that you have a basic understanding of Azure Monitor, get started analyzing some metrics for an Azure resource.