Azure Virtual Machines monitoring data reference

This article contains all the monitoring reference information for this service.

See Monitor Azure Virtual Machines for details on the data you can collect for Azure Virtual Machines and how to use it.

Metrics

This section lists all the automatically collected platform metrics for this service. These metrics are also part of the global list of all platform metrics supported in Azure Monitor.

For information on metric retention, see Azure Monitor Metrics overview.

Important

Metrics for the guest operating system (guest OS) that runs in a virtual machine (VM) aren't listed here. Guest OS metrics must be collected through one or more agents that run on or as part of the guest operating system. Guest OS metrics include performance counters that track guest CPU percentage or memory usage, both of which are frequently used for autoscaling or alerting.

Host OS metrics are available and listed in the following tables. Host OS metrics relate to the Hyper-V session that's hosting your guest OS session. For more information, see Guest OS and host OS metrics.

Supported metrics for Microsoft.Compute/virtualMachines

The following table lists the metrics available for the Microsoft.Compute/virtualMachines resource type.

  • All columns might not be present in every table.
  • Some columns might be beyond the viewing area of the page. Select Expand table to view all available columns.

Table headings

  • Category - The metrics group or classification.
  • Metric - The metric display name as it appears in the Azure portal.
  • Name in REST API - The metric name as referred to in the REST API.
  • Unit - Unit of measure.
  • Aggregation - The default aggregation type. Valid values: Average (Avg), Minimum (Min), Maximum (Max), Total (Sum), Count.
  • Dimensions - Dimensions available for the metric.
  • Time Grains - Intervals at which the metric is sampled. For example, PT1M indicates that the metric is sampled every minute, PT30M every 30 minutes, PT1H every hour, and so on.
  • DS Export- Whether the metric is exportable to Azure Monitor Logs via diagnostic settings. For information on exporting metrics, see Create diagnostic settings in Azure Monitor.
Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Available Memory Bytes (Preview)

Amount of physical memory, in bytes, immediately available for allocation to a process or for system use in the Virtual Machine
Available Memory Bytes Bytes Average <none> PT1M Yes
CPU Credits Consumed

Total number of credits consumed by the Virtual Machine. Only available on B-series burstable VMs
CPU Credits Consumed Count Average <none> PT1M Yes
CPU Credits Remaining

Total number of credits available to burst. Only available on B-series burstable VMs
CPU Credits Remaining Count Average <none> PT1M Yes
Data Disk Bandwidth Consumed Percentage

Percentage of data disk bandwidth consumed per minute. Only available on VM series that support premium storage.
Data Disk Bandwidth Consumed Percentage Percent Average LUN PT1M Yes
Data Disk IOPS Consumed Percentage

Percentage of data disk I/Os consumed per minute. Only available on VM series that support premium storage.
Data Disk IOPS Consumed Percentage Percent Average LUN PT1M Yes
Data Disk Latency (Preview)

Average time to complete each IO during monitoring period for Data Disk. Values are in milliseconds.
Data Disk Latency Milliseconds Average LUN PT1M Yes
Data Disk Max Burst Bandwidth

Maximum bytes per second throughput Data Disk can achieve with bursting
Data Disk Max Burst Bandwidth Count Average LUN PT1M Yes
Data Disk Max Burst IOPS

Maximum IOPS Data Disk can achieve with bursting
Data Disk Max Burst IOPS Count Average LUN PT1M Yes
Data Disk Queue Depth

Data Disk Queue Depth(or Queue Length)
Data Disk Queue Depth Count Average LUN PT1M Yes
Data Disk Read Bytes/Sec

Bytes/Sec read from a single disk during monitoring period
Data Disk Read Bytes/sec BytesPerSecond Average LUN PT1M Yes
Data Disk Read Operations/Sec

Read IOPS from a single disk during monitoring period
Data Disk Read Operations/Sec CountPerSecond Average LUN PT1M Yes
Data Disk Target Bandwidth

Baseline bytes per second throughput Data Disk can achieve without bursting
Data Disk Target Bandwidth Count Average LUN PT1M Yes
Data Disk Target IOPS

Baseline IOPS Data Disk can achieve without bursting
Data Disk Target IOPS Count Average LUN PT1M Yes
Data Disk Used Burst BPS Credits Percentage

Percentage of Data Disk burst bandwidth credits used so far
Data Disk Used Burst BPS Credits Percentage Percent Average LUN PT1M Yes
Data Disk Used Burst IO Credits Percentage

Percentage of Data Disk burst I/O credits used so far
Data Disk Used Burst IO Credits Percentage Percent Average LUN PT1M Yes
Data Disk Write Bytes/Sec

Bytes/Sec written to a single disk during monitoring period
Data Disk Write Bytes/sec BytesPerSecond Average LUN PT1M Yes
Data Disk Write Operations/Sec

Write IOPS from a single disk during monitoring period
Data Disk Write Operations/Sec CountPerSecond Average LUN PT1M Yes
Disk Read Bytes

Bytes read from disk during monitoring period
Disk Read Bytes Bytes Total <none> PT1M Yes
Disk Read Operations/Sec

Disk Read IOPS
Disk Read Operations/Sec CountPerSecond Average <none> PT1M Yes
Disk Write Bytes

Bytes written to disk during monitoring period
Disk Write Bytes Bytes Total <none> PT1M Yes
Disk Write Operations/Sec

Disk Write IOPS
Disk Write Operations/Sec CountPerSecond Average <none> PT1M Yes
Inbound Flows

Inbound Flows are number of current flows in the inbound direction (traffic going into the VM)
Inbound Flows Count Average <none> PT1M Yes
Inbound Flows Maximum Creation Rate

The maximum creation rate of inbound flows (traffic going into the VM)
Inbound Flows Maximum Creation Rate CountPerSecond Average <none> PT1M Yes
Network In Billable (Deprecated)

The number of billable bytes received on all network interfaces by the Virtual Machine(s) (Incoming Traffic) (Deprecated)
Network In Bytes Total <none> PT1M Yes
Network In Total

The number of bytes received on all network interfaces by the Virtual Machine(s) (Incoming Traffic)
Network In Total Bytes Total <none> PT1M Yes
Network Out Billable (Deprecated)

The number of billable bytes out on all network interfaces by the Virtual Machine(s) (Outgoing Traffic) (Deprecated)
Network Out Bytes Total <none> PT1M Yes
Network Out Total

The number of bytes out on all network interfaces by the Virtual Machine(s) (Outgoing Traffic)
Network Out Total Bytes Total <none> PT1M Yes
OS Disk Bandwidth Consumed Percentage

Percentage of operating system disk bandwidth consumed per minute. Only available on VM series that support premium storage.
OS Disk Bandwidth Consumed Percentage Percent Average LUN PT1M Yes
OS Disk IOPS Consumed Percentage

Percentage of operating system disk I/Os consumed per minute. Only available on VM series that support premium storage.
OS Disk IOPS Consumed Percentage Percent Average LUN PT1M Yes
OS Disk Latency (Preview)

Average time to complete each IO during monitoring period for OS Disk. Values are in milliseconds.
OS Disk Latency Milliseconds Average <none> PT1M Yes
OS Disk Max Burst Bandwidth

Maximum bytes per second throughput OS Disk can achieve with bursting
OS Disk Max Burst Bandwidth Count Average LUN PT1M Yes
OS Disk Max Burst IOPS

Maximum IOPS OS Disk can achieve with bursting
OS Disk Max Burst IOPS Count Average LUN PT1M Yes
OS Disk Queue Depth

OS Disk Queue Depth(or Queue Length)
OS Disk Queue Depth Count Average <none> PT1M Yes
OS Disk Read Bytes/Sec

Bytes/Sec read from a single disk during monitoring period for OS disk
OS Disk Read Bytes/sec BytesPerSecond Average <none> PT1M Yes
OS Disk Read Operations/Sec

Read IOPS from a single disk during monitoring period for OS disk
OS Disk Read Operations/Sec CountPerSecond Average <none> PT1M Yes
OS Disk Target Bandwidth

Baseline bytes per second throughput OS Disk can achieve without bursting
OS Disk Target Bandwidth Count Average LUN PT1M Yes
OS Disk Target IOPS

Baseline IOPS OS Disk can achieve without bursting
OS Disk Target IOPS Count Average LUN PT1M Yes
OS Disk Used Burst BPS Credits Percentage

Percentage of OS Disk burst bandwidth credits used so far
OS Disk Used Burst BPS Credits Percentage Percent Average LUN PT1M Yes
OS Disk Used Burst IO Credits Percentage

Percentage of OS Disk burst I/O credits used so far
OS Disk Used Burst IO Credits Percentage Percent Average LUN PT1M Yes
OS Disk Write Bytes/Sec

Bytes/Sec written to a single disk during monitoring period for OS disk
OS Disk Write Bytes/sec BytesPerSecond Average <none> PT1M Yes
OS Disk Write Operations/Sec

Write IOPS from a single disk during monitoring period for OS disk
OS Disk Write Operations/Sec CountPerSecond Average <none> PT1M Yes
Outbound Flows

Outbound Flows are number of current flows in the outbound direction (traffic going out of the VM)
Outbound Flows Count Average <none> PT1M Yes
Outbound Flows Maximum Creation Rate

The maximum creation rate of outbound flows (traffic going out of the VM)
Outbound Flows Maximum Creation Rate CountPerSecond Average <none> PT1M Yes
Percentage CPU

The percentage of allocated compute units that are currently in use by the Virtual Machine(s)
Percentage CPU Percent Average <none> PT1M Yes
Premium Data Disk Cache Read Hit

Premium Data Disk Cache Read Hit
Premium Data Disk Cache Read Hit Percent Average LUN PT1M Yes
Premium Data Disk Cache Read Miss

Premium Data Disk Cache Read Miss
Premium Data Disk Cache Read Miss Percent Average LUN PT1M Yes
Premium OS Disk Cache Read Hit

Premium OS Disk Cache Read Hit
Premium OS Disk Cache Read Hit Percent Average <none> PT1M Yes
Premium OS Disk Cache Read Miss

Premium OS Disk Cache Read Miss
Premium OS Disk Cache Read Miss Percent Average <none> PT1M Yes
Temp Disk Latency (Preview)

Average time to complete each IO during monitoring period for Temp Disk. Values are in milliseconds.
Temp Disk Latency Milliseconds Average <none> PT1M Yes
Temp Disk Queue Depth

Temp Disk Queue Depth(or Queue Length).
Temp Disk Queue Depth Count Average <none> PT1M Yes
Temp Disk Read Bytes/Sec

Bytes/Sec read from a single disk during monitoring period for Temp Disk.
Temp Disk Read Bytes/sec BytesPerSecond Average <none> PT1M Yes
Temp Disk Read Operations/Sec

Read IOPS from a single disk during monitoring period for Temp Disk.
Temp Disk Read Operations/Sec CountPerSecond Average <none> PT1M Yes
Temp Disk Write Bytes/Sec

Bytes/Sec written to a single disk during monitoring period for Temp Disk.
Temp Disk Write Bytes/sec BytesPerSecond Average <none> PT1M Yes
Temp Disk Write Operations/Sec

Write IOPS from a single disk during monitoring period for Temp Disk.
Temp Disk Write Operations/Sec CountPerSecond Average <none> PT1M Yes
VM Cached Bandwidth Consumed Percentage

Percentage of cached disk bandwidth consumed by the VM. Only available on VM series that support premium storage.
VM Cached Bandwidth Consumed Percentage Percent Average <none> PT1M Yes
VM Cached IOPS Consumed Percentage

Percentage of cached disk IOPS consumed by the VM. Only available on VM series that support premium storage.
VM Cached IOPS Consumed Percentage Percent Average <none> PT1M Yes
VM Cached Used Burst BPS Credits Percentage

Percentage of Cached Burst BPS Credits used by the VM.
VM Local Used Burst BPS Credits Percentage Percent Average, Minimum, Maximum <none> PT1M Yes
VM Cached Used Burst IO Credits Percentage

Percentage of Cached Burst IO Credits used by the VM.
VM Local Used Burst IO Credits Percentage Percent Average, Minimum, Maximum <none> PT1M Yes
VM Uncached Used Burst BPS Credits Percentage

Percentage of Uncached Burst BPS Credits used by the VM.
VM Remote Used Burst BPS Credits Percentage Percent Average, Minimum, Maximum <none> PT1M Yes
VM Uncached Used Burst IO Credits Percentage

Percentage of Uncached Burst IO Credits used by the VM.
VM Remote Used Burst IO Credits Percentage Percent Average, Minimum, Maximum <none> PT1M Yes
VM Uncached Bandwidth Consumed Percentage

Percentage of uncached disk bandwidth consumed by the VM. Only available on VM series that support premium storage.
VM Uncached Bandwidth Consumed Percentage Percent Average <none> PT1M Yes
VM Uncached IOPS Consumed Percentage

Percentage of uncached disk IOPS consumed by the VM. Only available on VM series that support premium storage.
VM Uncached IOPS Consumed Percentage Percent Average <none> PT1M Yes
VM Availability Metric (Preview)

Measure of Availability of Virtual machines over time.
VmAvailabilityMetric Count Average, Minimum, Maximum <none> PT1M Yes

VM availability metric (preview)

The VM availability metric is currently in public preview. This metric value indicates whether a machine is currently running and available. You can use the metric to trend availability over time and to alert if the machine is stopped. VM availability has the values in the following table.

Value Description
1 VM is running and available.
0 VM is unavailable. The VM could be stopped or rebooting. If you shut down a VM from within the VM, it emits this value.
Null State of the VM is unknown. If you stop a VM from the Azure portal, CLI, or PowerShell, it immediately stops emitting the availability metric, and you see null values.

Metric dimensions

For information about what metric dimensions are, see Multi-dimensional metrics.

The dimension Logical Unit Number (LUN) is associated with some of the preceding metrics.

Resource logs

This section lists the types of resource logs you can collect for this service. The section pulls from the list of all resource logs category types supported in Azure Monitor.

Supported resource logs for Microsoft.Compute/virtualMachines

Category Category display name Log table Supports basic log plan Supports ingestion-time transformation Example queries Costs to export
SoftwareUpdateProfile SoftwareUpdateProfile No Yes Yes
SoftwareUpdates SoftwareUpdates No Yes Yes

Important

For Azure VMs, all the important data is collected by the Azure Monitor agent. The resource log categories available for Azure VMs aren't important and aren't available for collection from the Azure portal. For detailed information about how the Azure Monitor agent collects VM log data, see Monitor virtual machines with Azure Monitor: Collect data.

Azure Monitor Logs tables

This section lists the Azure Monitor Logs tables relevant to this service, which are available for query by Log Analytics using Kusto queries. The tables contain resource log data and possibly more depending on what is collected and routed to them.

Table Categories Solutions Supports basic log plan Queries
ADAssessmentRecommendation
Recommendations generated by AD assessments that are started through a scheduled task. When you schedule the assessment it runs by default every seven days and uploads the data into Azure Log Analytics.
workloads ADAssessment, ADAssessmentPlus, AzureResources No Yes
ADReplicationResult
The AD Replication Status solution regularly monitors your Active Directory environment for any replication failures.
workloads ADReplication, AzureResources No -
AzureActivity
Entries from the Azure Activity log that provides insight into any subscription-level or management group level events that have occurred in Azure.
resources, audit, security LogManagement No Yes
AzureMetrics
Metric data emitted by Azure services that measure their health and performance.
resources LogManagement No Yes
CommonSecurityLog
This table is for collecting events in the Common Event Format, that are most often sent from different security appliances such as Check Point, Palo Alto and more.
security Security, SecurityInsights No Yes
ComputerGroup
Computer groups that can be used to scope log queries to a set of computers. Includes the computers in each group.
monitor, virtualmachines, management LogManagement No -
ConfigurationChange
View changes to in-guest configuration data such as Files Software Registry Keys Windows Services and Linux Daemons
management ChangeTracking No Yes
ConfigurationData
View the last reported state for in-guest configuration data such as Files Software Registry Keys Windows Services and Linux Daemons
management ChangeTracking No Yes
ContainerLog
Log lines collected from stdout and stderr streams for containers.
container, applications AzureResources, ContainerInsights, Containers No Yes
DnsEvents network DnsAnalytics, SecurityInsights No Yes
DnsInventory network DnsAnalytics, SecurityInsights No -
Event
Events from Windows Event Log on Windows computers using the Log Analytics agent.
virtualmachines LogManagement No Yes
HealthStateChangeEvent
Workload Monitor Health. This data represents state transitions of a health monitor.
undefined AzureResources, VMInsights No -
Heartbeat
Records logged by Log Analytics agents once per minute to report on agent health.
virtualmachines, container, management LogManagement No Yes
InsightsMetrics
Table that stores metrics. 'Perf' table also stores many metrics and over time they all will converge to InsightsMetrics for Azure Monitor Solutions
virtualmachines, container, resources AzureResources, ContainerInsights, InfrastructureInsights, LogManagement, ServiceMap, VMInsights No Yes
Perf
Performance counters from Windows and Linux agents that provide insight into the performance of hardware components operating systems and applications.
virtualmachines, container LogManagement No Yes
ProtectionStatus
Antimalware installation info and security health status of the machine:
security AntiMalware, Security, SecurityCenter, SecurityCenterFree No Yes
SQLAssessmentRecommendation
Recommendations generated by SQL assessments that are started through a scheduled task. When you schedule the assessment it runs by default every seven days and uploads the data into Azure Log Analytics.
workloads AzureResources, SQLAssessment, SQLAssessmentPlus No Yes
SecurityBaseline security Security, SecurityCenter, SecurityCenterFree No -
SecurityBaselineSummary security Security, SecurityCenter, SecurityCenterFree No -
SecurityEvent
Security events collected from windows machines by Azure Security Center or Azure Sentinel.
security Security, SecurityInsights No Yes
Syslog
Syslog events on Linux computers using the Log Analytics agent.
virtualmachines, security LogManagement No Yes
Update
Details for update schedule run. Includes information such as which updates where available and which were installed.
management, security Security, SecurityCenter, SecurityCenterFree, Updates No Yes
UpdateRunProgress
Breaks down each run of your update schedule by the patches available at the time with details on the installation status of each patch.
management Updates No Yes
UpdateSummary
Summary for each update schedule run. Includes information such as how many updates weren't installed.
virtualmachines Security, SecurityCenter, SecurityCenterFree, Updates No Yes
VMBoundPort
Traffic for open server ports on the monitored machine.
virtualmachines AzureResources, InfrastructureInsights, ServiceMap, VMInsights No -
VMComputer
Inventory data for servers collected by the Service Map and VM insights solutions using the Dependency agent and Log analytics agent.
virtualmachines AzureResources, ServiceMap, VMInsights No -
VMConnection
Traffic for inbound and outbound connections to and from monitored computers.
virtualmachines AzureResources, InfrastructureInsights, ServiceMap, VMInsights No -
VMProcess
Process data for servers collected by the Service Map and VM insights solutions using the Dependency agent and Log analytics agent.
virtualmachines AzureResources, ServiceMap, VMInsights No -
W3CIISLog
Internet Information Server (IIS) log on Windows computers using the Log Analytics agent.
management, virtualmachines LogManagement No Yes
WindowsFirewall security Security, WindowsFirewall No -
WireData
Network data collected by the WireData solution using by the Dependency agent and Log analytics agent.
virtualmachines, security WireData, WireData2 No Yes

Activity log

The linked table lists the operations that can be recorded in the activity log for this service. These operations are a subset of all the possible resource provider operations in the activity log.

For more information on the schema of activity log entries, see Activity Log schema.

The following table lists a few example operations that relate to creating VMs in the activity log. For a complete list of operations, see Microsoft.Compute resource provider operations.

Operation Description
Microsoft.Compute/virtualMachines/start/action Starts the virtual machine
Microsoft.Compute/virtualMachines/restart/action Deletes a managed cluster
Microsoft.Compute/virtualMachines/write Creates a new virtual machine or updates an existing one
Microsoft.Compute/virtualMachines/deallocate/action Powers off the virtual machine and releases the compute resources
Microsoft.Compute/virtualMachines/extensions/write Creates a new virtual machine extension or updates an existing one
Microsoft.Compute/virtualMachineScaleSets/write Starts the instances of the virtual machine scale set