Skip to content

Commit 7527909

Browse files
committed
update screenshots and other tweaks
1 parent bf017bc commit 7527909

File tree

5 files changed

+23
-37
lines changed

5 files changed

+23
-37
lines changed
-7.6 KB
Loading
51.8 KB
Loading
51.9 KB
Loading
-4.29 KB
Loading

articles/network-watcher/nsg-flow-logs-portal.md

Lines changed: 23 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: halkazwini
66
ms.author: halkazwini
77
ms.service: network-watcher
88
ms.topic: how-to
9-
ms.date: 07/23/2024
9+
ms.date: 07/24/2024
1010

1111
#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.
1212
---
@@ -104,44 +104,27 @@ To enable traffic analytics for a flow log, follow these steps:
104104

105105
1. Under **Logs**, select **Flow logs**.
106106

107-
1. In **Network Watcher | Flow logs**, select **+ Create** or **Create flow log** blue button.
108-
109-
:::image type="content" source="./media/nsg-flow-logs-portal/flow-logs.png" alt-text="Screenshot of Flow logs page in the Azure portal." lightbox="./media/nsg-flow-logs-portal/flow-logs.png":::
110-
111-
1. Enter or select the following values in **Create a flow log**:
112-
113-
| Setting | Value |
114-
| ------- | ----- |
115-
| **Project details** | |
116-
| Subscription | Select the Azure subscription of your network security group that you want to log. |
117-
| Network security group | Select **+ Select resource**. <br> In **Select network security group**, select **myNSG**. Then, select **Confirm selection**. |
118-
| Flow Log Name | Enter a name for the flow log or leave the default name. By default, Azure portal creates *{network-security-group}-{resource-group}-flowlog* flow log in **NetworkWatcherRG** resource group. |
119-
| **Instance details** | |
120-
| Subscription | Select the Azure subscription of your storage account. |
121-
| 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**. |
122-
| Retention (days) | Enter a retention time for the logs. 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/). |
107+
1. In **Network Watcher | Flow logs**, select the flow log that you want to enable traffic analytics for.
123108

124-
:::image type="content" source="./media/nsg-flow-logs-portal/create-nsg-flow-log-basics.png" alt-text="Screenshot of the Basics tab of Create a flow log in the Azure portal.":::
109+
1. In **Flow logs settings**, check the **Enable traffic analytics** checkbox.
125110

126-
> [!NOTE]
127-
> If the storage account is in a different subscription, the network security group and storage account must be associated with the same Azure Active Directory tenant. The account you use for each subscription must have the [necessary permissions](required-rbac-permissions.md).
111+
:::image type="content" source="./media/nsg-flow-logs-portal/enable-traffic-analytics.png" alt-text="Screenshot that shows how to enable traffic analytics for an existing flow log in the Azure portal." lightbox="./media/nsg-flow-logs-portal/enable-traffic-analytics.png":::
128112

129-
1. Select **Next: Analytics** button, or select **Analytics** tab. Then enter or select the following values:
113+
1. Select the following values:
130114

131115
| Setting | Value |
132116
| ------- | ----- |
133-
| Flow Logs Version | Select the flow log version. Version 2 is selected by default when you create a flow log using the Azure portal. For more information about flow logs versions, see [Log format of NSG flow logs](nsg-flow-logs-overview.md#log-format). |
134-
| **Traffic Analytics** | |
135-
| Enable Traffic Analytics | Select the checkbox to enable traffic analytics for your flow log. |
136-
| Traffic Analytics processing interval | Select the processing interval that you prefer, available options are: **Every 1 hour** and **Every 10 mins**. The default processing interval is every one hour. For more information, see [Traffic Analytics](traffic-analytics.md). |
137117
| Subscription | Select the Azure subscription of your Log Analytics workspace. |
138-
| Log Analytics Workspace | Select your Log Analytics workspace. By default, Azure portal creates and selects *DefaultWorkspace-{subscription-id}-{region}* Log Analytics workspace in *defaultresourcegroup-{Region}* resource group. |
118+
| Log Analytics workspace | Select your Log Analytics workspace. By default, Azure portal creates ***DefaultWorkspace-{SubscriptionID}-{Region}*** Log Analytics workspace in ***defaultresourcegroup-{Region}*** resource group. |
119+
| Traffic logging interval | Select the processing interval that you prefer, available options are: **Every 1 hour** and **Every 10 mins**. The default processing interval is every one hour. For more information, see [Traffic analytics](traffic-analytics.md). |
139120

140-
:::image type="content" source="./media/nsg-flow-logs-portal/enable-traffic-analytics.png" alt-text="Screenshot of enabling traffic analytics for a flow log in the Azure portal.":::
121+
:::image type="content" source="./media/nsg-flow-logs-portal/enable-traffic-analytics-settings.png" alt-text="Screenshot that shows configurations of traffic analytics for an existing flow log in the Azure portal." lightbox="./media/nsg-flow-logs-portal/enable-traffic-analytics-settings.png":::
141122

142-
1. Select **Review + create**.
123+
1. Select **Save** to apply the changes.
143124

144-
1. Review the settings, and then select **Create**.
125+
To disable traffic analytics for a flow log, take the previous steps 1-3, then uncheck the **Enable traffic analytics** checkbox and select **Save**.
126+
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":::
145128

146129
## Change a flow log
147130

@@ -155,14 +138,17 @@ You can change the properties of a flow log after you create it. For example, yo
155138

156139
1. In **Flow logs settings**, you can change any of the following settings:
157140

158-
- **Flow Logs Version**: Change the flow log version. Available versions are: version 1 and version 2. Version 2 is selected by default when you create a flow log using the Azure portal. For more information about flow logs versions, see [Log format of NSG flow logs](nsg-flow-logs-overview.md#log-format).
159-
- **Storage Account**: Change 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**.
160-
- **Retention (days)**: Change the retention time in the storage account. Enter *0* if you want to retain the flow logs data in the storage account forever (until you manually delete the data from the storage account).
161-
- **Traffic Analytics**: Enable or disable traffic analytics for your flow log. For more information, see [Traffic Analytics](traffic-analytics.md).
162-
- **Traffic Analytics processing 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).
163-
- **Log Analytics workspace**: Change the Log Analytics workspace that you want to save the flow logs to (if traffic analytics is enabled).
164-
165-
:::image type="content" source="./media/nsg-flow-logs-portal/change-flow-log.png" alt-text="Screenshot of Flow logs settings page in the Azure portal where you can change some settings." lightbox="./media/nsg-flow-logs-portal/change-flow-log.png":::
141+
| Setting | Value |
142+
| ------- | ----- |
143+
| **Storage account** | |
144+
| Subscription | Change the Azure subscription of the storage account that you want to use. |
145+
| Storage account | Change 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**. |
146+
| Retention (days) | Change the retention time in the storage account. Enter *0* if you want to retain the flow logs data in the storage account forever (until you manually delete the data from the storage account). |
147+
| **Traffic analytics** | |
148+
| Enable traffic analytics | Enable or disable traffic analytics by checking or unchecking the checkbox. |
149+
| Subscription | Change the Azure subscription of the Log Analytics workspace that you want to use. |
150+
| Log analytics workspace | Change the Log Analytics workspace that you want to save the flow logs to (if traffic analytics is enabled). |
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). |
166152

167153
## List all flow logs
168154

0 commit comments

Comments
 (0)