Skip to content

Commit cc9fb10

Browse files
author
Michael Bender
committed
acrolinx and screensot updates
1 parent 2550be8 commit cc9fb10

File tree

1 file changed

+30
-19
lines changed

1 file changed

+30
-19
lines changed
Lines changed: 30 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,78 @@
11
---
22
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.
3+
description: This article describes how to configure and view event logs for Azure Virtual Network Manager. This includes how to access event logs in a Log Analytics workspace and a storage account.
44
author: mbender-ms
55
ms.author: mbender
66
ms.topic: how-to
77
ms.service: azure-virtual-network-manager
8-
ms.date: 04/12/2023
8+
ms.date: 04/14/2023
99
---
1010

1111
# Configure Event Logs for Azure Virtual Network Manager
1212

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.
13+
When configurations are changed in Azure Virtual Network Manager, this can affect 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.
1414

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.
15+
In this article, you learn how to monitor Azure Virtual Network Manager for virtual network changes with Log Analytics or a storage account.
1616

1717
## 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.
18+
- * An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
19+
- A deployed instance of [Azure Virtual Network Manager](./create-virtual-network-manager-portal.md) in your subscription, with managed virtual networks.
20+
- You deployed either a [Log Analytics workspace](../azure-monitor/essentials/tutorial-resource-logs.md#create-a-log-analytics-workspace) or a [storage account](../storage/common/storage-account-create.md) to store event logs.
2221

2322
## Configuring Diagnostic Settings
2423

25-
### Configure event logs with Log Analytics
24+
### Configure event logs with Log Analytics
25+
26+
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).
2627

2728
1. Navigate to the network manager you want to obtain the logs of.
2829
1. Under the **Monitoring** in the left pane, select the **Diagnostic settings**.
2930
1. Select **+ Add diagnostic setting** and enter a diagnostic setting name.
3031
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+
1. Under **Destination details**, select **Send to Log Analytics** and choose your subscription and Log Analytics workspace from the dropdown menus.
3233

3334
:::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.":::
3435

3536
1. Select **Save** and close the window.
3637

3738
### Configure event logs with a storage account
3839

39-
Navigate to the network manager you want to obtain the logs of.
40+
A storage account is another option for storing event logs. In this task, you configure your Azure Virtual Network Manager Instance to use a storage account. This task assumes you have already deployed a storage account. If you haven't, see [Create a storage account](../storage/common/storage-account-create.md).
41+
42+
1. Navigate to the network manager you want to obtain the logs of.
4043
1. Under the **Monitoring** in the left pane, select the **Diagnostic settings**.
4144
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.
45+
1. Under **Destination details**, select **Send to storage account** and choose your subscription and storage account from the dropdown menus.
4346
1. Under **Logs**, select **Network Group Membership Change** and enter a retention period.
4447

4548
:::image type="content" source="media/how-to-configure-event-logging/storage-account-diagnostic-settings.png" alt-text="Screenshot of Diagnostic settings for storage account.":::
4649

4750
1. Select **Save** and close the window.
4851

49-
## Viewing Azure Virtual Network Manager logs
52+
## Viewing Azure Virtual Network Manager event logs
53+
54+
In this task, you access the event logs for your Azure Virtual Network Manager instance.
5055

5156
1. Under the **Monitoring** in the left pane, select the **Logs**.
5257
1. In the **Diagnostics** window, select **Run** or **Load to editor** under **Get recent Network Group Membership Changes**.
5358

54-
:::image type="content" source="media/how-to-configure-event-logging/view-logs.png" alt-text="Screenshot of Logs page.":::
59+
:::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.":::
5560

56-
1. If you choose **Run**, the **Results* tab displays the event logs and you can expand each log to view the details.
61+
1. If you choose **Run**, the **Results** tab displays the event logs, and you can expand each log to view the details.
5762
1. When completed reviewing the logs, close the window and select **ok** to discard changes.
5863

59-
:::image type="content" source="media/how-to-configure-event-logging/workspace-log-details.png" alt-text="Screenshot of log details.":::
64+
:::image type="content" source="media/how-to-configure-event-logging/workspace-log-details.png" alt-text="Screenshot of the event log details from the defined query.":::
6065

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.
66+
> [!NOTE]
67+
> 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.
6368
6469
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.
6570

6671
:::image type="content" source="media/how-to-configure-event-logging/workspace-log-details.png" alt-text="Screenshot of log details.":::
67-
1.
72+
1. Close the window and select **ok** to discard changes.
73+
74+
## Next steps
75+
76+
- Learn about [Security admin rules](concept-security-admins.md)
77+
- Learn how to [Use queries in Azure Monitor Log Analytics](../azure-monitor/logs/queries.md)
78+
- Learn how to block network traffic with a [SecurityAdmin configuration](how-to-block-network-traffic-portal.md).

0 commit comments

Comments
 (0)