Skip to content

Commit b9bce20

Browse files
authored
Merge pull request #261134 from halkazwini/nw-arm
updates
2 parents eca5bfa + 2b56af4 commit b9bce20

File tree

1 file changed

+25
-23
lines changed

1 file changed

+25
-23
lines changed

articles/network-watcher/quickstart-configure-network-security-group-flow-logs-from-arm-template.md

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
---
2-
title: 'Quickstart: Configure network security group flow logs using an ARM template'
2+
title: 'Quickstart: Configure NSG flow logs using an ARM template'
3+
titleSuffix: Azure Network Watcher
34
description: Learn how to enable network security group (NSG) flow logs programmatically using an Azure Resource Manager (ARM) template and Azure PowerShell.
4-
services: network-watcher
55
author: halkazwini
66
ms.author: halkazwini
7-
ms.date: 09/01/2022
8-
ms.topic: quickstart
97
ms.service: network-watcher
8+
ms.topic: quickstart
9+
ms.date: 12/13/2023
1010
ms.custom: devx-track-azurepowershell, subject-armqs, mode-arm, devx-track-arm-template
11-
#Customer intent: I need to enable the network security group flow logs by using an Azure Resource Manager template.
11+
12+
#CustomerIntent: As an Azure administrator, I want to learn how to enable NSG flow logs using an ARM template so that I can log traffic flowing through a network security group.
1213
---
1314

14-
# Quickstart: Configure network security group flow logs using an Azure Resource Manager (ARM) template
15+
# Quickstart: Configure Azure Network Watcher NSG flow logs using an Azure Resource Manager (ARM) template
1516

16-
In this quickstart, you learn how to enable [network security group (NSG) flow logs](network-watcher-nsg-flow-logging-overview.md) using an [Azure Resource Manager](../azure-resource-manager/management/overview.md) (ARM) template and Azure PowerShell.
17+
In this quickstart, you learn how to enable NSG flow logs using an Azure Resource Manager (ARM) template and Azure PowerShell. For more information, see [What is Azure Resource Manager?](../azure-resource-manager/management/overview.md) and [NSG flow logs overview](network-watcher-nsg-flow-logging-overview.md).
1718

1819
[!INCLUDE [About Azure Resource Manager](../../includes/resource-manager-quickstart-introduction.md)]
1920

@@ -25,15 +26,15 @@ If your environment meets the prerequisites and you're familiar with using ARM t
2526

2627
## Prerequisites
2728

28-
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
29+
An Azure account with an active subscription. If you don't have one, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
2930

3031
## Review the template
3132

3233
The template that we use in this quickstart is from [Azure Quickstart Templates](https://azure.microsoft.com/resources/templates/networkwatcher-flowlogs-create/).
3334

3435
:::code language="json" source="~/quickstart-templates/quickstarts/microsoft.network/networkwatcher-flowLogs-create/azuredeploy.json" range="1-117" highlight="94-115":::
3536

36-
These resources are defined in the template:
37+
The following resources are defined in the template:
3738

3839
- [Microsoft.Storage/storageAccounts](/azure/templates/microsoft.storage/storageaccounts?pivots=deployment-language-arm-template)
3940
- [Microsoft.Network networkWatchers](/azure/templates/microsoft.network/networkwatchers?tabs=bicep&pivots=deployment-language-arm-template)
@@ -57,7 +58,7 @@ New-AzResourceGroupDeployment -Name EnableFlowLog -ResourceGroupName NetworkWatc
5758
```
5859

5960
> [!NOTE]
60-
> These commands deploy a resource to the example NetworkWatcherRG resource group, and not to the resource group that contains the NSG.
61+
> These commands deploy a resource to ***NetworkWatcherRG*** resource group, and not to the resource group that contains the network security group.
6162
6263
## Validate the deployment
6364

@@ -70,21 +71,22 @@ If there were issues with the deployment, see [Troubleshoot common Azure deploym
7071

7172
## Clean up resources
7273

73-
You can delete Azure resources by using complete deployment mode. To delete a flow logs resource, specify a deployment in complete mode without including the resource you want to delete. Read more about [complete deployment mode](../azure-resource-manager/templates/deployment-modes.md#complete-mode).
74+
You can delete Azure resources by using complete deployment mode. To delete a flow log resource, specify a deployment in complete mode without including the resource you want to delete. Read more about [complete deployment mode](../azure-resource-manager/templates/deployment-modes.md#complete-mode).
75+
76+
You can also disable or delete a flow log in the Azure portal:
77+
78+
1. In the search box at the top of the portal, enter *network watcher*. Select **Network Watcher** in the search results.
79+
80+
1. Under **Logs**, select **Flow logs**.
7481

75-
You also can disable an NSG flow log in the Azure portal:
82+
1. In **Network Watcher | Flow logs**, select the checkbox of the flow log that you want to delete.
7683

77-
1. Sign in to the Azure portal.
78-
1. Select **All services**. In the **Filter** box, enter **network watcher**. In the search results, select **Network Watcher**.
79-
1. Under **Logs**, select **NSG flow logs**.
80-
1. In the list of NSGs, select the NSG for which you want to disable flow logs.
81-
1. Under **Flow logs settings**, select **Off**.
82-
1. Select **Save**.
84+
1. Select **Disable** or **Delete**. For more information, see [Disable a flow log](nsg-flow-logging.md#disable-a-flow-log) or [Delete a flow log](nsg-flow-logging.md#delete-a-flow-log).
8385

84-
## Next steps
86+
## Related content
8587

86-
In this quickstart, you learned how to enable NSG flow logs by using an ARM template. Next, learn how to visualize your NSG flow data by using one of these options:
88+
In this quickstart, you learned how to enable NSG flow logs using an ARM template. Next, learn how to visualize your NSG flow data using traffic analytics:
8789

88-
- [Microsoft Power BI](network-watcher-visualize-nsg-flow-logs-power-bi.md)
89-
- [Open-source tools](network-watcher-visualize-nsg-flow-logs-open-source-tools.md)
90-
- [Azure Traffic Analytics](traffic-analytics.md)
90+
- [Traffic analytics overview](traffic-analytics.md)
91+
- [Usage scenarios of traffic analytics](usage-scenarios-traffic-analytics.md)
92+
- [Manage traffic analytics using Azure Policy](traffic-analytics-policy-portal.md)

0 commit comments

Comments
 (0)