| title | Monitor Azure Virtual Network |
|---|---|
| description | Start here to learn how to monitor Azure virtual networks by using Azure Monitor. |
| ms.date | 07/21/2024 |
| ms.custom | horz-monitor |
| ms.topic | concept-article |
| author | asudbring |
| ms.author | allensu |
| ms.service | azure-virtual-network |
[!INCLUDE horz-monitor-intro]
[!INCLUDE horz-monitor-resource-types]
For more information about the resource types for Virtual Network, see Azure Virtual Network monitoring data reference.
[!INCLUDE horz-monitor-data-storage]
[!INCLUDE horz-monitor-platform-metrics]
For a list of available metrics for Virtual Network, see Azure Virtual Network monitoring data reference.
Important
Enabling these settings requires additional Azure services (storage account, event hub, or Log Analytics), which might increase your cost. To calculate an estimated cost, visit the Azure pricing calculator.
Azure Monitor currently doesn't support analyzing Azure virtual network metrics from the metrics explorer. To view Azure virtual network metrics, select Metrics under Monitoring from the virtual network you want to analyze.
:::image type="content" source="./media/monitor-virtual-network/metrics.png" alt-text="Screenshot of the metrics dashboard for Virtual Network." lightbox="./media/monitor-virtual-network/metrics-expanded.png":::
[!INCLUDE horz-monitor-custom-metrics]
For more information, see Monitor and visualize network configurations with Azure Network Policy Manager.
[!INCLUDE horz-monitor-resource-logs]
For the available resource log categories, their associated Log Analytics tables, and the log schemas for Virtual Network, see Azure Virtual Network monitoring data reference.
[!INCLUDE horz-monitor-activity-log]
[!INCLUDE horz-monitor-analyze-data]
[!INCLUDE horz-monitor-external-tools]
[!INCLUDE horz-monitor-kusto-queries]
[!INCLUDE horz-monitor-alerts]
The following table lists some suggested alert rules for Virtual Network. These alerts are just examples. You can set alerts for any metric, log entry, or activity log entry listed in the Azure Virtual Network monitoring data reference.
The following table lists common and recommended activity alert rules for Azure virtual network.
| Alert type | Condition | Description |
|---|---|---|
| Create or Update Virtual Network | Event Level: All selected, Status: All selected, Event initiated by: All services and users | When a user creates or makes configuration changes to the virtual network |
| Delete Virtual Network | Event Level: All selected, Status: Started | When a user deletes a virtual network |
[!INCLUDE horz-monitor-advisor-recommendations]
- See Azure Virtual Network monitoring data reference for a reference of the metrics, logs, and other important values created for Virtual Network.
- See Monitoring Azure resources with Azure Monitor for general details on monitoring Azure resources.