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-portal.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ author: halkazwini
6
6
ms.author: halkazwini
7
7
ms.service: network-watcher
8
8
ms.topic: how-to
9
-
ms.date: 07/24/2024
9
+
ms.date: 07/25/2024
10
10
11
11
#CustomerIntent: As an Azure administrator, I want to log my virtual network IP traffic using Network Watcher NSG flow logs so that I can analyze it later.
12
12
---
@@ -70,7 +70,7 @@ Create a flow log for your network security group. This NSG flow log is saved in
70
70
| Storage accounts | Select the storage account that you want to save the flow logs to. If you want to create a new storage account, select **Create a new storage account**. |
71
71
| Retention (days) | Enter a retention time for the logs (this option is only available with [Standard general-purpose v2](../storage/common/storage-account-overview.md?toc=/azure/network-watcher/toc.json#types-of-storage-accounts) storage accounts). Enter *0* if you want to retain the flow logs data in the storage account forever (until you delete it from the storage account). For information about pricing, see [Azure Storage pricing](https://azure.microsoft.com/pricing/details/storage/). |
72
72
73
-
:::image type="content" source="./media/nsg-flow-logs-portal/create-nsg-flow-log.png" alt-text="Screenshot of creating an NSG flow log in the Azure portal.":::
73
+
:::image type="content" source="./media/nsg-flow-logs-portal/create-nsg-flow-log-basics.png" alt-text="Screenshot of creating an NSG flow log in the Azure portal.":::
74
74
75
75
> [!NOTE]
76
76
> If the storage account is in a different subscription, the network security group and storage account must be associated with the same Microsoft Entra tenant. The account you use for each subscription must have the [necessary permissions](required-rbac-permissions.md).
@@ -126,9 +126,9 @@ To disable traffic analytics for a flow log, take the previous steps 1-3, then u
126
126
127
127
:::image type="content" source="./media/nsg-flow-logs-portal/disable-traffic-analytics.png" alt-text="Screenshot that shows how to disable traffic analytics for an existing flow log in the Azure portal." lightbox="./media/nsg-flow-logs-portal/disable-traffic-analytics.png":::
128
128
129
-
## Change a flow log
129
+
## Change flow log settings
130
130
131
-
You can change the properties of a flow log after you create it. For example, you can change the flow log version or disable traffic analytics.
131
+
You can change the settings of a flow log after you create it. For example, you can change the flow log version or disable traffic analytics.
132
132
133
133
1. In the search box at the top of the portal, enter *network watcher*. Select **Network Watcher** from the search results.
134
134
@@ -150,6 +150,10 @@ You can change the properties of a flow log after you create it. For example, yo
150
150
| Log analytics workspace | Change the Log Analytics workspace that you want to save the flow logs to (if traffic analytics is enabled). |
151
151
| Traffic logging interval | Change the processing interval of traffic analytics (if traffic analytics is enabled). Available options are: one hour and 10 minutes. The default processing interval is every one hour. For more information, see [Traffic Analytics](traffic-analytics.md). |
152
152
153
+
:::image type="content" source="./media/nsg-flow-logs-portal/change-flow-log.png" alt-text="Screenshot that shows how to edit flow log's settings in the Azure portal where you can change some virtual network flow log settings." lightbox="./media/nsg-flow-logs-portal/change-flow-log.png":::
154
+
155
+
1. Select **Save** to apply the changes or **Cancel** to exit without saving them.
156
+
153
157
## List all flow logs
154
158
155
159
You can list all flow logs in a subscription or a group of subscriptions. You can also list all flow logs in a region.
@@ -176,6 +180,8 @@ You can view the details of a flow log in a subscription or a group of subscript
176
180
177
181
:::image type="content" source="./media/nsg-flow-logs-portal/flow-log-settings.png" alt-text="Screenshot of Flow logs settings page in the Azure portal." lightbox="./media/nsg-flow-logs-portal/flow-log-settings.png":::
178
182
183
+
1. Select **Cancel** to close the settings page without making changes.
184
+
179
185
## Download a flow log
180
186
181
187
The storage location of a flow log is defined at creation. To access and download flow logs from your storage account, you can use Azure Storage Explorer. Fore more information, see [Get started with Storage Explorer](../vs-azure-tools-storage-manage-with-storage-explorer.md).
@@ -203,7 +209,7 @@ You can temporarily disable an NSG flow log without deleting it. Disabling a flo
203
209
:::image type="content" source="./media/nsg-flow-logs-portal/disable-flow-log.png" alt-text="Screenshot shows how to disable a flow log in the Azure portal." lightbox="./media/nsg-flow-logs-portal/disable-flow-log.png":::
204
210
205
211
> [!NOTE]
206
-
> If traffic analytics is enabled for a flow log, it must disabled before you can disable the flow log. To disable traffic analytics, see [Change a flow log](#change-a-flow-log).
212
+
> If traffic analytics is enabled for a flow log, it must be disabled before you can disable the flow log. To disable traffic analytics, see [Change a flow log](#change-flow-log-settings).
0 commit comments