You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Virtual Machine Host | Host metrics automatically collected for all Azure virtual machines. Detailed list of metrics at [Microsoft.Compute/virtualMachines](../azure-monitor/essentials/metrics-supported.md#microsoftcomputevirtualmachines). | Collected automatically with no configuration required. |
28
-
| Virtual Machine Guest | Guest operating system and application performance data available to all Azure Monitor features using metrics. | For Windows, [diagnostic extension installed](../azure-monitor/agents/diagnostics-extension-overview.md) installed with Azure Monitor sink enabled. For Linux, [Telegraf agent installed](../azure-monitor/essentials/collect-custom-metrics-linux-telegraf.md). |
29
-
| Guest (classic) | Limited set of guest operating system and application performance data. Available in metrics explorer but not other Azure Monitor features such as metric alerts. |[Diagnostic extension](../azure-monitor/agents/diagnostics-extension-overview.md) installed. Data is read from Azure storage. |
30
-
31
-
32
-
33
-
34
24
For more information, see a list of [all platform metrics supported in Azure Monitor](/azure/azure-monitor/platform/metrics-supported).
35
25
36
26
## Metric Dimensions
37
27
38
28
For more information on what metric dimensions are, see [Multi-dimensional metrics](/azure/azure-monitor/platform/data-platform-metrics#multi-dimensional-metrics).
39
29
40
30
41
-
Azure virtual machines have the following dimensions associated with its metrics.
31
+
Azure virtual machines and virtual machine scale sets have the following dimensions associated with its metrics.
42
32
43
33
| Dimension Name | Description |
44
34
| ------------------- | ----------------- |
@@ -47,7 +37,7 @@ Azure virtual machines have the following dimensions associated with its metrics
47
37
48
38
## Azure Monitor Logs tables
49
39
50
-
This section refers to all of the Azure Monitor Logs tables relevant to virtual machines and available for query by Log Analytics.
40
+
This section refers to all of the Azure Monitor Logs tables relevant to virtual machines and virtual machine scale sets and available for query by Log Analytics.
51
41
52
42
|Resource Type | Notes |
53
43
|-------|-----|
@@ -58,7 +48,7 @@ For a reference of all Azure Monitor Logs / Log Analytics tables, see the [Azure
58
48
59
49
## Activity log
60
50
61
-
The following table lists a few example operations related to virtual machines that may be created in the Activity log.
51
+
The following table lists a few example operations related to virtual machines that may be created in the Activity log. For a complete list of possible log entires, see [Microsoft.Compute Resource Provider options](/azure/role-based-access-control/resource-provider-operations#compute).
62
52
63
53
| Operation | Description |
64
54
|:---|:---|
@@ -73,8 +63,6 @@ The following table lists a few example operations related to virtual machines t
73
63
| Microsoft.Compute/virtualMachines/deallocate/action | Powers off the virtual machine and releases the compute resources |
74
64
| Microsoft.Compute/virtualMachines/extensions/write | Creates a new virtual machine extension or updates an existing one |
75
65
76
-
For a complete list of possible log entires, see [Microsoft.ContainerService Resource Provider options](/azure/role-based-access-control/resource-provider-operations#microsoftcontainerservice).
77
-
78
66
For more information on the schema of Activity Log entries, see [Activity Log schema](/azure/azure-monitor/essentials/activity-log-schema).
Copy file name to clipboardExpand all lines: articles/virtual-machines/monitor-vm.md
+12-14Lines changed: 12 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,37 +4,37 @@ description: Start here to learn how to monitor Azure virtual machines
4
4
ms.service: virtual-machines
5
5
ms.topic: article
6
6
ms.custom: subject-monitoring
7
-
ms.date: 11/15/2021
7
+
ms.date: 11/17/2021
8
8
---
9
9
10
10
# Monitoring Azure virtual machines
11
11
12
12
When you have critical applications and business processes relying on Azure resources, you want to monitor those resources for their availability, performance, and operation. This article describes the monitoring data generated by Azure virtual machines and how you can use the features of [Azure Monitor](/azure/azure-monitor/overview) to analyze and alert on this data.
13
13
14
14
> [!NOTE]
15
-
> This article provides basic information for getting started monitoring an Azure virtual machine. For a complete guide to monitoring your entireenvironment of Azure and hybrid virtual machines, see [Monitor virtual machines with Azure Monitor](../azure-monitor/vm/monitor-virtual-machine.md).
15
+
> This article provides basic information for getting started monitoring an Azure virtual machine. For a complete guide to monitoring your entire environment of Azure and hybrid virtual machines, see [Monitor virtual machines with Azure Monitor](../azure-monitor/vm/monitor-virtual-machine.md).
16
16
17
17
## What is Azure Monitor?
18
-
[Azure Monitor](/azure/azure-monitor/overview) is a full stack monitoring service that provides a complete set of features to monitor your Azure resources. You don't need to directly interact with Azure Monitor though to perform a variety of monitoring tasks since its features are integrated into the Azure portal for Azure services that it monitors. If you're interested in a general overview of how Azure Monitor works with Azure resources, see [Monitoring Azure resources with Azure Monitor](../azure-monitor/essentials/monitor-azure-resource.md).
18
+
[Azure Monitor](/azure/azure-monitor/overview) is a full stack monitoring service that provides a complete set of features to monitor your Azure resources. You don't need to directly interact with Azure Monitor though to perform a variety of monitoring tasks since its features are integrated into the Azure portal for Azure services that it monitors. If you're interested in a tutorial with an overview of how Azure Monitor works with Azure resources, see [Monitoring Azure resources with Azure Monitor](../azure-monitor/essentials/monitor-azure-resource.md).
19
19
20
20
## Monitoring data
21
21
22
-
Azure virtual machines collect the same kinds of monitoring data as other Azure resources that are described in [Monitoring data from Azure resources](/azure/azure-monitor/insights/monitor-azure-resource#monitoring-data). See [Monitoring Azure virtual machines data reference](monitor-vm-reference.md) for detailed information on the metrics and logs metrics created by Azure virtual machines.
22
+
Azure virtual machines collect the same kinds of monitoring data as other Azure resources that are described in [Monitoring data from Azure resources](/azure/azure-monitor/insights/monitor-azure-resource#monitoring-data). See [Monitoring Azure virtual machines data reference](monitor-vm-reference.md) for detailed information on the metrics and logs created by Azure virtual machines.
23
23
24
24
## Overview page
25
25
Start with the **Monitoring** tab on the **Overview** page for your virtual machine. This includes charts that show key health metrics such as average CPU and network utilization. Click on a duration to change the time range for the charts or click on a chart to open metrics explorer to drill down further or to create an alert rule.
The [Activity log](../azure-monitor/essentials/activity-log.md) shows you recent activity by the virtual machine including any configuration changes and when it was stopped and started. View the Activity log in the Azure portal, or create a diagnostic setting to send it to a Log Analytics workspace where you can view events over time or analyze them with other collected data.
30
+
The [Activity log](../azure-monitor/essentials/activity-log.md) shows you recent activity by the virtual machine including any configuration changes and when it was stopped and started. View the Activity log in the Azure portal, or create a [diagnostic setting to send it to a Log Analytics workspace](../azure-monitor/essentials/activity-log.md#send-to-log-analytics-workspace) where you can view events over time or analyze them with other collected data.
Some services in Azure have a customized monitoring experience in Azure Monitor that includes pre-built workbooks and other specialized features for that particular service. These experiences are called *insights*.
36
36
37
-
VM insights is designed to monitor your entire set of virtual machines together in a single interface. When you start monitoring multiple virtual machines in your Azure environment, you should consider enabling VM insights for the following eatures:
37
+
VM insights is designed to monitor your entire set of Azure and hybrid virtual machines together in a single interface. When you start monitoring multiple virtual machines in your Azure environment, you should consider enabling VM insights for the following features:
38
38
39
39
- Simplified onboarding of Log Analytics agent and Dependency agent to enable monitoring of a virtual machine guest operating system and workloads.
40
40
- Pre-defined trending performance charts and workbooks that allow you to analyze core performance metrics from the virtual machine's guest operating system.
@@ -44,23 +44,21 @@ VM insights is designed to monitor your entire set of virtual machines together
> When you add a virtual machine to VM insights, the [Log Analytics agent](../azure-monitor/agents/log-analytics-agent.md) is automatically installed. This will coexist with the Azure Monitor agent if it's also installed. When VM insights supports the Azure Monitor agent, then this will be the only agent required for all Azure Monitor features.
49
-
50
47
See [Enable Azure Monitor for single virtual machine or virtual machine scale set in the Azure portal](../azure-monitor/vm/vminsights-enable-portal.md) for quick steps to configure VM insights and enable monitoring for a virtual machine. See [Enable VM insights overview](../azure-monitor/vm/vminsights-enable-overview.md) for general information on enabling insights and different methods for onboarding virtual machines.
51
48
52
49
## Collect guest metrics and logs
53
-
Azure Monitor starts collecting metric data for your virtual machine host automatically. To collect metrics from the guest operating system of the virtual machine though, you must install an agent. The Log Analytics agent installed when you enable [VM insights](#vm-insights) sends performance data to Azure Monitor Logs which allows you to create heartbeat alerts. See [Tutorial: Enable monitoring for Azure virtual machine](../azure-monitor/vm/tutorial-monitor-vm-enable.md) for a tutorial on enabling VM insights for a virtual machine.
50
+
Azure Monitor starts collecting metric data for your virtual machine host automatically when the machine is created. To collect metrics from the guest operating system of the virtual machine though, you must install an agent. When you enable [VM insights](#vm-insights), the Log Analytics agent is installed and starts sending performance data to Azure Monitor Logs, which enables the **performance** and **map** views. See [Tutorial: Enable monitoring for Azure virtual machine](../azure-monitor/vm/tutorial-monitor-vm-enable.md) for a tutorial on enabling VM insights for a virtual machine.
54
51
55
-
Install the [Azure Monitor agent](../azure-monitor/agents/azure-monitor-agent-overview.md) to collect guest logs from your virtual machine and to send guest metrics to Azure Monitor Metrics. The simplest method to install and configure the Azure Monitor agent is to create a data collection rule that defines which data to collect and automatically installs the agent on any virtual machines that don't already have it. See [Tutorial: Collect guest logs and metrics from Azure virtual machine](../azure-monitor/vm/tutorial-monitor-vm-guest.md).
52
+
After VM insights is enabled, install the [Azure Monitor agent](../azure-monitor/agents/azure-monitor-agent-overview.md) to collect guest logs from your virtual machine and to send guest metrics to Azure Monitor Metrics. This enables you to [analyze metrics with metrics explorer](#analyze-metrics). See [Tutorial: Collect guest logs and metrics from Azure virtual machine](../azure-monitor/vm/tutorial-monitor-vm-guest.md) to learn how to install Azure Monitor agent and create a data collection rule which defines the data to collect.
56
53
57
54
## Analyze metrics
58
-
Metrics are numerical values that describe some aspect of a system at a particular point in time. Platform metrics for the virtual machine host are collected automatically. While the **Overview** page includes the most common metrics, you can access others using metrics explorer. This tool allows you to create charts from metric values and visually correlate trends. You can create also create a metric alert rule or pin a chart to an Azure dashboard.
55
+
Metrics are numerical values that describe some aspect of a system at a particular point in time. Platform metrics for the virtual machine host are collected automatically, while you must [install the Azure Monitor agent](#collect-guest-metrics-and-logs)to collect guest metrics.
The **Overview** page includes the most common host metrics, you can access others using metrics explorer. This tool allows you to create charts from metric values and visually correlate trends. You can create also create a metric alert rule or pin a chart to an Azure dashboard. See [Analyze metrics for an Azure resource](/azure-monitor/essentials/tutorial-metrics) for a tutorial on using this tool.
61
58
62
-
See [Monitoring Azure virtual machines data reference](monitor-vm-reference.md#metrics) for a list of the metrics that are available. You must have the [Azure Monitor agent installed](#collect-guest-metrics-and-logs) to view guest metrics from the virtual machine.
0 commit comments