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
Copy file name to clipboardExpand all lines: articles/virtual-network-manager/how-to-configure-event-logs.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,15 +24,15 @@ In this article, you learn how to monitor Azure Virtual Network Manager for virt
24
24
Depending on how you consume event logs, you need to set up a Log Analytics workspace or a storage account for storing your log events. These are as storage targets when configuring diagnostic settings for Azure Virtual Network Manager. Once you have configured your diagnostic settings, you can view the event logs in the Log Analytics workspace or storage account.
25
25
26
26
> [!NOTE]
27
-
> At least one virtual network must be added or removed from a network group in order to generate logs. A log will generate for this event a couple minutes after network group membership change occurs.
27
+
> At least one virtual network must be added or removed from a network group in order to generate logs for the Network Group Membership Change schema. A log will generate for this event a couple minutes after network group membership change occurs.
28
28
### Configure event logs with Log Analytics
29
29
30
30
Log analytics is one option for storing event logs. In this task, you configure your Azure Virtual Network Manager Instance to use a Log Analytics workspace. This task assumes you have already deployed a Log Analytics workspace. If you haven't, see [Create a Log Analytics workspace](../azure-monitor/essentials/tutorial-resource-logs.md#create-a-log-analytics-workspace).
31
31
32
32
1. Navigate to the network manager you want to obtain the logs of.
33
33
1. Under the **Monitoring** in the left pane, select the **Diagnostic settings**.
34
34
1. Select **+ Add diagnostic setting** and enter a diagnostic setting name.
35
-
1. Under **Logs**, select **Network Group Membership Change**.
35
+
1. Under **Logs**, select **Network Group Membership Change** or **Rule Collection Change**.
36
36
1. Under **Destination details**, select **Send to Log Analytics** and choose your subscription and Log Analytics workspace from the dropdown menus.
37
37
38
38
:::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.":::
@@ -47,7 +47,7 @@ A storage account is another option for storing event logs. In this task, you co
47
47
1. Under the **Monitoring** in the left pane, select the **Diagnostic settings**.
48
48
1. Select **+ Add diagnostic setting** and enter a diagnostic setting name.
49
49
1. Under **Destination details**, select **Send to storage account** and choose your subscription and storage account from the dropdown menus.
50
-
1. Under **Logs**, select **Network Group Membership Change** and enter a retention period.
50
+
1. Under **Logs**, select **Network Group Membership Change**or **Rule Collection Change**and enter a retention period.
51
51
52
52
:::image type="content" source="media/how-to-configure-event-logging/storage-account-diagnostic-settings.png" alt-text="Screenshot of Diagnostic settings for storage account.":::
53
53
@@ -58,7 +58,7 @@ A storage account is another option for storing event logs. In this task, you co
58
58
In this task, you access the event logs for your Azure Virtual Network Manager instance.
59
59
60
60
1. Under the **Monitoring** in the left pane, select the **Logs**.
61
-
1. In the **Diagnostics** window, select **Run** or **Load to editor** under **Get recent Network Group Membership Changes**.
61
+
1. In the **Diagnostics** window, select **Run** or **Load to editor** under **Get recent Network Group Membership Changes** or any other preloaded query available from your selected schema(s).
62
62
63
63
:::image type="content" source="media/how-to-configure-event-logging/run-query.png" alt-text="Screenshot of Run and Load to editor buttons in the diagnostics window.":::
64
64
@@ -80,4 +80,4 @@ In this task, you access the event logs for your Azure Virtual Network Manager i
80
80
81
81
- Learn about [Security admin rules](concept-security-admins.md)
82
82
- Learn how to [Use queries in Azure Monitor Log Analytics](../azure-monitor/logs/queries.md)
83
-
- Learn how to block network traffic with a [SecurityAdmin configuration](how-to-block-network-traffic-portal.md).
83
+
- Learn how to block network traffic with a [SecurityAdmin configuration](how-to-block-network-traffic-portal.md).
0 commit comments