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
+20-3Lines changed: 20 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,15 +73,32 @@ Create a flow log for your network security group. This NSG flow log is saved in
73
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.":::
74
74
75
75
> [!NOTE]
76
-
> 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).
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).
77
+
78
+
1. To enable traffic analytics, select **Next: Analytics** button, or select the **Analytics** tab. Enter or select the following values:
79
+
80
+
| Setting | Value |
81
+
| ------- | ----- |
82
+
| Flow logs version | Select the version of the network security group flow log, available options are: **Version 1** and **Version 2**. The default version is version 2. For more information, see [Flow logging for network security groups](nsg-flow-logs-overview.md). |
83
+
| Enable traffic analytics | Select the checkbox to enable traffic analytics for your flow log. |
84
+
| 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). |
85
+
| Subscription | Select the Azure subscription of your Log Analytics workspace. |
86
+
| Log Analytics Workspace | Select your Log Analytics workspace. By default, Azure portal creates ***DefaultWorkspace-{SubscriptionID}-{Region}*** Log Analytics workspace in ***defaultresourcegroup-{Region}*** resource group. |
87
+
88
+
:::image type="content" source="./media/nsg-flow-logs-portal/create-nsg-flow-log-analytics.png" alt-text="Screenshot that shows how to enable traffic analytics for a new flow log in the Azure portal.":::
89
+
90
+
> [!NOTE]
91
+
> To create and select a Log Analytics workspace other than the default one, see [Create a Log Analytics workspace](../azure-monitor/logs/quick-create-workspace.md?toc=/azure/network-watcher/toc.json)
77
92
78
93
1. Select **Review + create**.
79
94
80
95
1. Review the settings, and then select **Create**.
81
96
82
-
## Create a flow log and traffic analytics workspace
97
+
## Enable or disable traffic analytics
98
+
99
+
Enable traffic analytics for a flow log to analyze the flow log data. Traffic analytics provides insights into your traffic patterns. You can enable or disable traffic analytics for a flow log at any time.
83
100
84
-
Create a flow log for your network security group and enable traffic analytics. The NSG flow log is saved in an Azure storage account.
101
+
To enable traffic analytics for a flow log, follow these steps:
85
102
86
103
1. In the search box at the top of the portal, enter *network watcher*. Select **Network Watcher** from the search results.
Copy file name to clipboardExpand all lines: articles/network-watcher/vnet-flow-logs-portal.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,11 +63,11 @@ Create a flow log for your virtual network, subnet, or network interface. This f
63
63
| ------- | ----- |
64
64
|**Project details**||
65
65
| Subscription | Select the Azure subscription of your virtual network that you want to log. |
66
-
| Flow log type | Select **Virtual network** then select **+ Select target resource** (available options are: **Virtual network**, **Subnet**, and **Network interface**). <br> Select the resources that you want to flow log, then select **Confirm selection**. |
66
+
| Flow log type | Select **Virtual Network** then select **+ Select target resource** (available options are: **Virtual network**, **Subnet**, and **Network interface**). <br> Select the resources that you want to flow log, then select **Confirm selection**. |
67
67
| Flow Log Name | Enter a name for the flow log or leave the default name. Azure portal uses ***{ResourceName}-{ResourceGroupName}-flowlog*** as a default name for the flow log. |
68
68
|**Instance details**||
69
69
| Subscription | Select the Azure subscription of the storage account. |
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**. |
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 manually delete it from the storage account). For information about pricing, see [Azure Storage pricing](https://azure.microsoft.com/pricing/details/storage/). |
72
72
73
73
:::image type="content" source="./media/vnet-flow-logs-portal/create-vnet-flow-log-basics.png" alt-text="Screenshot that shows the Basics tab of creating a virtual network flow log in the Azure portal." lightbox="./media/vnet-flow-logs-portal/create-vnet-flow-log-basics.png":::
0 commit comments