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/network-watcher-nsg-flow-logging-portal.md
+16-13Lines changed: 16 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ services: network-watcher
5
5
author: damendo
6
6
ms.service: network-watcher
7
7
ms.topic: tutorial
8
-
ms.date: 11/16/2021
8
+
ms.date: 10/17/2022
9
9
ms.author: damendo
10
10
ms.custom: mvc
11
11
# Customer intent: I need to log the network traffic to and from a VM so I can analyze it for anomalies.
@@ -31,17 +31,19 @@ In this tutorial, you learn how to:
31
31
> * Download logged data
32
32
> * View logged data
33
33
34
+
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
35
+
34
36
## Prerequisites
35
37
36
-
- An Azure account with an active subscription.[Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
38
+
- An Azure account with an active subscription.
37
39
38
40
## Create a virtual machine
39
41
40
42
1. Sign in to the [Azure portal](https://portal.azure.com).
41
43
42
44
2. In the search box at the top of the portal, enter **Virtual machine**. Select **Virtual machines**.
43
45
44
-
3. In **Virtual machines**, select **+ Create** then **+ Virtual machine**.
46
+
3. In **Virtual machines**, select **+ Create** then **+ Azure virtual machine**.
45
47
46
48
4. Enter or select the following information in **Create a virtual machine**.
47
49
@@ -59,7 +61,6 @@ In this tutorial, you learn how to:
59
61
| Azure Spot instance | Leave the default. |
60
62
| Size | Select a size. |
61
63
|**Administrator account**||
62
-
| Authentication type | Select **SSH public key**. |
63
64
| Username | Enter a username. |
64
65
| Password | Enter a password. |
65
66
| Confirm password | Confirm password. |
@@ -101,6 +102,8 @@ NSG flow logging requires the **Microsoft.Insights** provider. To register the p
101
102
102
103
5. Confirm the status of the provider displayed is **Registered**. If the status is **Unregistered**, select the provider then select **Register**.
103
104
105
+
:::image type="content" source="./media/network-watcher-nsg-flow-logging-portal/microsoft-insights-registered.png" alt-text="Screenshot of registering microsoft insights provider.":::
106
+
104
107
## Enable NSG flow log
105
108
106
109
NSG flow log data is written to an Azure Storage account. Complete the following steps to create a storage account for the log data.
@@ -117,12 +120,12 @@ NSG flow log data is written to an Azure Storage account. Complete the following
117
120
| Subscription | Select your subscription. |
118
121
| Resource group | Select **myResourceGroup**. |
119
122
|**Instance details**||
120
-
| Storage account name | Enter a name for your storage account. </br> Must be 3-24 characters in length, can only contain lowercase letters and numbers, and must be unique across all Azure Storage. |
121
-
| Region | Select **(US)East US**. |
123
+
| Storage account name | Enter a name for your storage account. </br> Must be 3-24 characters long, and can contain only lowercase letters and numbers, and must be unique across all Azure Storage. |
124
+
| Region | Select **(US)East US**. |
122
125
| Performance | Leave the default of **Standard**. |
123
126
| Redundancy | Leave the default of **Geo-redundant storage (GRS)**. |
124
127
125
-
4. Select **Review + create**.
128
+
4. Select **Review**.
126
129
127
130
5. Select **Create**.
128
131
@@ -182,7 +185,7 @@ The following example JSON displays data that you'll see in the PT1H.json file f
0 commit comments