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
+9-7Lines changed: 9 additions & 7 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: 05/30/2024
9
+
ms.date: 07/23/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
---
@@ -25,14 +25,16 @@ In this article, you learn how to create, change, disable, or delete an NSG flow
25
25
26
26
- A network security group. If you need to create a network security group, see [Create, change, or delete a network security group](../virtual-network/manage-network-security-group.md?tabs=network-security-group-portal).
27
27
28
-
- An Azure storage account. If you need to create a storage account, see [Create a storage account using PowerShell](../storage/common/storage-account-create.md?tabs=azure-portal).
28
+
- An Azure storage account. If you need to create a storage account, see [Create a storage account using the Azure portal](../storage/common/storage-account-create.md?tabs=azure-portal).
29
29
30
30
## Register Insights provider
31
31
32
32
*Microsoft.Insights* provider must be registered to successfully log traffic flowing through a network security group. If you aren't sure if the *Microsoft.Insights* provider is registered, you can check its status by following these steps:
33
33
34
34
1. In the search box at the top of the portal, enter *subscriptions*. Select **Subscriptions** from the search results.
35
35
36
+
:::image type="content" source="./media/nsg-flow-logs-portal/subscriptions.png" alt-text="Screenshot that shows how to search for Subscriptions in the Azure portal." lightbox="./media/nsg-flow-logs-portal/subscriptions.png":::
37
+
36
38
1. Select the Azure subscription that you want to enable the provider for in **Subscriptions**.
37
39
38
40
1. Under **Settings**, select **Resource providers**.
@@ -55,18 +57,18 @@ Create a flow log for your network security group. This NSG flow log is saved in
55
57
56
58
:::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":::
57
59
58
-
1.Enter or select the following values in**Create a flow log**:
60
+
1.On the **Basics** tab of**Create a flow log**, enter or select the following values:
59
61
60
62
| Setting | Value |
61
63
| ------- | ----- |
62
64
|**Project details**||
63
65
| Subscription | Select the Azure subscription of your network security group that you want to log. |
| Flow Log Name | Enter a name for the flow log or leave the default name. **myNSG-myResourceGroup-flowlog** is the default name for this example. |
66
+
|Flow log type | Select **Network security group** then select**+ Select target resource**. <br> Select the network security group that you want to flow log, then select **Confirm selection**. |
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. **myNSG-myResourceGroup-flowlog** is the default name used in this article. |
66
68
|**Instance details**||
67
69
| Subscription | Select the Azure subscription of your storage account. |
68
-
| 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**. |
69
-
| 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/). |
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
+
| 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/). |
70
72
71
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.":::
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