Skip to content

Commit 2550be8

Browse files
author
Michael Bender
committed
More Updates to screenshots & Storage Account
1 parent da61440 commit 2550be8

File tree

9 files changed

+73
-41
lines changed

9 files changed

+73
-41
lines changed

articles/virtual-network-manager/TOC.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
href: concept-enforcement.md
4848
- name: Monitoring
4949
items:
50-
- name: Monitoring Overview
51-
href: concept-monitoring.md
50+
- name: Event Log Options for Azure Virtual Network Manager
51+
href: concept-event-logs.md
5252
- name: Deployments
5353
href: concept-deployments.md
5454
- name: Remove or update components
@@ -89,8 +89,8 @@
8989
href: how-to-configure-cross-tenant-cli.md
9090
- name: Monitoring
9191
items:
92-
- name: Monitoring for virtual network changes
93-
href: how-to-monitor-virtual-network-changes.md
92+
- name: configure Event Logs for Azure Virtual Network Manager
93+
href: how-to-configure-event-logs.md
9494
- name: View applied configurations
9595
href: how-to-view-applied-configurations.md
9696
- name: Define dynamic network group membership with Azure Policy
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
---
2+
title: Configure Event Logs for Azure Virtual Network Manager
3+
description: This article describes how to configure and view event logs for Azure Virtual Network Manager. This includes how to access event logs with Log Analytics and a storage account.
4+
author: mbender-ms
5+
ms.author: mbender
6+
ms.topic: how-to
7+
ms.service: azure-virtual-network-manager
8+
ms.date: 04/12/2023
9+
---
10+
11+
# Configure Event Logs for Azure Virtual Network Manager
12+
13+
When configurations are changed in Azure Virtual Network Manager, this can impact virtual networks that are associated with network groups in your instance. With Azure Monitor, you can monitor Azure Virtual Network Manager for virtual network changes.
14+
15+
In this article, you'll learn how to monitor Azure Virtual Network Manager for virtual network changes with Log Analytics or a storage account.
16+
17+
## Prerequisites
18+
19+
- [Azure Virtual Network Manager](../concept-virtual-network-manager.md) is enabled on your subscription.
20+
# - [Azure Monitor](https://docs.microsoft.com/azure/azure-monitor/overview) is enabled on your subscription.
21+
- You deployed either a [Log Analytics workspace](../azure-monitor/logs/tutorial-resource-logs). or a [storage account](../storage/common/storage-account-create.md) to monitor Azure Virtual Network Manager.
22+
23+
## Configuring Diagnostic Settings
24+
25+
### Configure event logs with Log Analytics
26+
27+
1. Navigate to the network manager you want to obtain the logs of.
28+
1. Under the **Monitoring** in the left pane, select the **Diagnostic settings**.
29+
1. Select **+ Add diagnostic setting** and enter a diagnostic setting name.
30+
1. Under **Logs**, select **Network Group Membership Change**.
31+
1. Under **Destination details**, select **Send to Log Analytics** and choose your subscription and Log Analytics worskpace from the dropdown menus.
32+
33+
:::image type="content" source="media/how-to-configure-event-logging/log-analytics-diagnostic-settings.png" alt-text="Screenshot of Diagnostic settings page for setting up Log Analytics workspace.":::
34+
35+
1. Select **Save** and close the window.
36+
37+
### Configure event logs with a storage account
38+
39+
Navigate to the network manager you want to obtain the logs of.
40+
1. Under the **Monitoring** in the left pane, select the **Diagnostic settings**.
41+
1. Select **+ Add diagnostic setting** and enter a diagnostic setting name.
42+
1. 1. Under **Destination details**, select **Send to storage account** and choose your subscription and storage account from the dropdown menus.
43+
1. Under **Logs**, select **Network Group Membership Change** and enter a retention period.
44+
45+
:::image type="content" source="media/how-to-configure-event-logging/storage-account-diagnostic-settings.png" alt-text="Screenshot of Diagnostic settings for storage account.":::
46+
47+
1. Select **Save** and close the window.
48+
49+
## Viewing Azure Virtual Network Manager logs
50+
51+
1. Under the **Monitoring** in the left pane, select the **Logs**.
52+
1. In the **Diagnostics** window, select **Run** or **Load to editor** under **Get recent Network Group Membership Changes**.
53+
54+
:::image type="content" source="media/how-to-configure-event-logging/view-logs.png" alt-text="Screenshot of Logs page.":::
55+
56+
1. If you choose **Run**, the **Results* tab displays the event logs and you can expand each log to view the details.
57+
1. When completed reviewing the logs, close the window and select **ok** to discard changes.
58+
59+
:::image type="content" source="media/how-to-configure-event-logging/workspace-log-details.png" alt-text="Screenshot of log details.":::
60+
61+
> [!NOTE]
62+
> When you close the **Query editor** window, you will be be returned to the **Azure Home** page. If you need to return to the **Logs** page, browse to your virtual network manager instance, and select **Logs** under the **Monitoring** in the left pane.
63+
64+
1. If you choose **Load to editor**, the **Query editor** window displays the query. Choose **Run** to display the event logs and you can expand each log to view the details.
65+
66+
:::image type="content" source="media/how-to-configure-event-logging/workspace-log-details.png" alt-text="Screenshot of log details.":::
67+
1.

articles/virtual-network-manager/how-to-view-event-logs.md

Lines changed: 0 additions & 35 deletions
This file was deleted.

articles/virtual-network-manager/index.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,5 @@ landingContent:
104104
url: concept-event-logs.md
105105
- linkListType: how-to-guide
106106
links:
107-
- text: View Event Logs for Azure Virtual Network Manager
108-
url: how-to-view-event-logs.md
107+
- text: Configure Event Logs for Azure Virtual Network Manager
108+
url: how-to-configure-event-logs.md
42.4 KB
Loading
42.6 KB
Loading
60.6 KB
Loading
101 KB
Loading
120 KB
Loading

0 commit comments

Comments
 (0)