Skip to content

Commit a714fdc

Browse files
committed
add a caution note about resources created by traffic analytics
1 parent 9e41885 commit a714fdc

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

articles/network-watcher/required-rbac-permissions.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ Since traffic analytics is enabled as part of the flow log resource, the followi
8686
8787
<sup>1</sup> Only required when using traffic analytics to analyze virtual network flow logs. For more information, see [Data collection rules in Azure Monitor](/azure/azure-monitor/essentials/data-collection-rule-overview?toc=/azure/network-watcher/toc.json) and [Data collection endpoints in Azure Monitor](/azure/azure-monitor/essentials/data-collection-endpoint-overview?toc=/azure/network-watcher/toc.json).
8888

89-
> [!CAUTION]
90-
> Traffic analytics creates and manages data collection rule and data collection endpoint resources in the same resource group as the workspace, prefixed with `NWTA`. If you perform any operation on these resources, traffic analytics might not function as expected.
89+
[!INCLUDE [Traffic analytics resources](../../includes/network-watcher-traffic-analytics-resources.md)]
9190

9291
> [!IMPORTANT]
9392
> [Management group](../governance/management-groups/overview.md?toc=/azure/network-watcher/toc.json) inherited permissions are currently not supported for enabling traffic analytics.

articles/network-watcher/vnet-flow-logs-manage.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: halkazwini
66
ms.author: halkazwini
77
ms.service: azure-network-watcher
88
ms.topic: how-to
9-
ms.date: 03/18/2025
9+
ms.date: 04/17/2025
1010

1111
#CustomerIntent: As an Azure administrator, I want to log my virtual network IP traffic using Network Watcher VNet flow logs so that I can analyze it later.
1212
---
@@ -149,6 +149,8 @@ Create a flow log for your virtual network, subnet, or network interface. This f
149149
> [!NOTE]
150150
> To create and select a Log Analytics workspace other than the default one, see [Create a Log Analytics workspace](/azure/azure-monitor/logs/quick-create-workspace?toc=/azure/network-watcher/toc.json)
151151
152+
[!INCLUDE [Traffic analytics resources](../../includes/network-watcher-traffic-analytics-resources.md)]
153+
152154
1. Select **Review + create**.
153155

154156
1. Review the settings, and then select **Create**.
@@ -185,6 +187,7 @@ Use [New-AzNetworkWatcherFlowLog](/powershell/module/az.network/new-aznetworkwat
185187
# Create a VNet flow log.
186188
New-AzNetworkWatcherFlowLog -Enabled $true -Name 'myVNetFlowLog' -NetworkWatcherName 'NetworkWatcher_eastus' -ResourceGroupName 'NetworkWatcherRG' -StorageId $storageAccount.Id -TargetResourceId $vnet.Id -FormatVersion 2 -EnableTrafficAnalytics -TrafficAnalyticsWorkspaceId $workspace.ResourceId -TrafficAnalyticsInterval 10
187189
```
190+
[!INCLUDE [Traffic analytics resources](../../includes/network-watcher-traffic-analytics-resources.md)]
188191
189192
# [**Azure CLI**](#tab/cli)
190193
@@ -219,6 +222,7 @@ Use [az network watcher flow-log create](/cli/azure/network/watcher/flow-log#az-
219222
# Create a VNet flow log (storage account and traffic analytics workspace are in different resource groups from the virtual network).
220223
az network watcher flow-log create --location 'eastus' --name 'myVNetFlowLog' --resource-group 'myResourceGroup' --vnet 'myVNet' --storage-account '/subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourceGroups/StorageRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount' --traffic-analytics true --workspace '/subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourceGroups/WorkspaceRG/providers/Microsoft.OperationalInsights/workspaces/myWorkspace' --interval 10
221224
```
225+
[!INCLUDE [Traffic analytics resources](../../includes/network-watcher-traffic-analytics-resources.md)]
222226
223227
---
224228
@@ -306,6 +310,8 @@ To disable traffic analytics on the flow log resource and continue to generate a
306310
az network watcher flow-log update --location 'eastus' --name 'myVNetFlowLog' --resource-group 'myResourceGroup' --vnet 'myVNet' --storage-account 'myStorageAccount' --traffic-analytics false
307311
```
308312

313+
[!INCLUDE [Traffic analytics resources](../../includes/network-watcher-traffic-analytics-resources.md)]
314+
309315
---
310316

311317
## List all flow logs
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
author: halkazwini
3+
ms.author: halkazwini
4+
ms.service: azure-network-watcher
5+
ms.topic: include
6+
ms.date: 04/17/2025
7+
ms.custom: include file
8+
---
9+
> [!CAUTION]
10+
> Traffic analytics creates and manages data collection rule and data collection endpoint resources in the same resource group as the workspace, prefixed with `NWTA`. If you perform any operation on these resources, traffic analytics might not function as expected.

0 commit comments

Comments
 (0)