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/network-watcher/nsg-flow-logs-tutorial.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,13 @@
1
1
---
2
-
title: 'Tutorial: Log network traffic flow to and from a virtual machine'
2
+
title: 'Tutorial: Log network traffic flow to and from a VM'
3
3
titleSuffix: Azure Network Watcher
4
-
description: In this tutorial, you learn how to log network traffic flow to and from a virtual machine (VM) using Network Watcher NSG flow logs capability.
4
+
description: In this tutorial, you learn how to log network traffic flow to and from a virtual machine (VM) using Network Watcher NSG flow logs.
5
5
author: halkazwini
6
6
ms.author: halkazwini
7
7
ms.service: azure-network-watcher
8
8
ms.topic: tutorial
9
-
ms.date: 09/26/2024
9
+
ms.date: 09/30/2024
10
+
10
11
# CustomerIntent: As an Azure administrator, I need to log the network traffic to and from a virtual machine (VM) so I can analyze the data for anomalies.
11
12
---
12
13
@@ -18,7 +19,7 @@ Network security group flow logging is a feature of Azure Network Watcher that a
18
19
19
20
This tutorial helps you use NSG flow logs to log a virtual machine's network traffic that flows through the [network security group](../virtual-network/network-security-groups-overview.md) associated to its network interface.
20
21
21
-
:::image type="content" source="./media/nsg-flow-logs-tutorial/nsg-flow-logs-tutorial-diagram.png" alt-text="Diagram shows the resources created during the tutorial." lightbox="./media/nsg-flow-logs-tutorial/nsg-flow-logs-tutorial-diagram.png":::
22
+
:::image type="content" source="./media/nsg-flow-logs-tutorial/nsg-flow-logs-tutorial-diagram.png" alt-text="Diagram shows the resources created during the tutorial.":::
22
23
23
24
In this tutorial, you learn how to:
24
25
@@ -42,7 +43,7 @@ In this section, you create **myVNet** virtual network with one subnet for the v
42
43
43
44
1. In the search box at the top of the portal, enter ***virtual networks***. Select **Virtual networks** from the search results.
44
45
45
-
:::image type="content" source="./media/nsg-flow-logs-tutorial/virtual-network-azure-portal.png" alt-text="Screenshot shows searching for virtual networks in the Azure portal.":::
46
+
:::image type="content" source="./media/nsg-flow-logs-tutorial/virtual-network-azure-portal.png" alt-text="Screenshot shows searching for virtual networks in the Azure portal." lightbox="./media/nsg-flow-logs-tutorial/virtual-network-azure-portal.png":::
46
47
47
48
1. Select **+ Create**. In **Create virtual network**, enter or select the following values in the **Basics** tab:
48
49
@@ -129,7 +130,7 @@ NSG flow logging requires the **Microsoft.Insights** provider. To check its stat
129
130
130
131
1. Confirm the status of the provider displayed is **Registered**. If the status is **NotRegistered**, select the **Microsoft.Insights** provider then select **Register**.
131
132
132
-
:::image type="content" source="./media/nsg-flow-logs-tutorial/register-microsoft-insights.png" alt-text="Screenshot of registering Microsoft Insights provider in the Azure portal.":::
133
+
:::image type="content" source="./media/nsg-flow-logs-tutorial/register-microsoft-insights.png" alt-text="Screenshot of registering Microsoft Insights provider in the Azure portal." lightbox="./media/nsg-flow-logs-tutorial/register-microsoft-insights.png":::
133
134
134
135
## Create a storage account
135
136
@@ -216,7 +217,7 @@ In this section, you go to the storage account you previously selected and downl
216
217
217
218
6. Select the ellipsis **...** to the right of the PT1H.json file, then select **Download**.
218
219
219
-
:::image type="content" source="./media/nsg-flow-logs-tutorial/nsg-log-file.png" alt-text="Screenshot showing how to download nsg flow log from the storage account container in the Azure portal.":::
220
+
:::image type="content" source="./media/nsg-flow-logs-tutorial/nsg-log-file.png" alt-text="Screenshot showing how to download nsg flow log from the storage account container in the Azure portal." lightbox="./media/nsg-flow-logs-tutorial/nsg-log-file.png":::
220
221
221
222
> [!NOTE]
222
223
> You can use Azure Storage Explorer to access and download flow logs from your storage account. Fore more information, see [Get started with Storage Explorer](../vs-azure-tools-storage-manage-with-storage-explorer.md).
0 commit comments