Skip to content

Commit f8afddf

Browse files
authored
Update date and refine RecordTypes filtering details
Updated the date and refined descriptions for RecordTypes filtering in the virtual network flow logs documentation.
1 parent 4748bae commit f8afddf

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

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

Lines changed: 18 additions & 18 deletions
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: 12/26/2025
9+
ms.date: 03/24/2026
1010
---
1111

1212
# Filter virtual network flow logs (preview)
@@ -95,18 +95,18 @@ Set-AzNetworkWatcherFlowLog -Enabled $true -Name 'myVNetFlowLog' -NetworkWatcher
9595
```
9696
## Filtering based on RecordTypes
9797

98-
You can filter Virtual Network Flow Logs based on the state of a network flow. Flow state represents the lifecycle stage of a connection as observed by Azure Network Watcher, such as when a flow begins, continues, ends, or is denied.
98+
You can filter virtual network flow logs based on the state of a network flow. Flow state represents the lifecycle stage of a connection as observed by Network Watcher, such as when a flow begins, continues, ends, or is denied.
9999

100100
Use the RecordTypes parameter to specify which flow states you want to record. The parameter accepts one or more comma‑separated values.
101101

102102
### Supported RecordType Values
103103

104104
| Value | Description |
105105
|-------|-------------|
106-
| B | Begin, when a flow is created. No statistics are provided. |
107-
| C | Continuing for an ongoing flow. Statistics are provided at five-minute intervals. |
108-
| E | End, when a flow is terminated. Statistics are provided. |
109-
| D | Deny, when a flow is denied. |
106+
| B | Begin: when a flow is created. No statistics are provided. |
107+
| C | Continuing: an ongoing flow. Statistics are provided at five-minute intervals. |
108+
| E | End: when a flow is terminated. Statistics are provided. |
109+
| D | Deny: when a flow is denied. |
110110

111111
### Example scenarios using RecordTypes
112112

@@ -117,9 +117,9 @@ Use the RecordTypes parameter to specify which flow states you want to record. T
117117
| Capture only active traffic statistics | "C" |
118118
| Capture full flow lifecycle | "B,C,E" |
119119

120-
## Update RecordTypes filtering condition
120+
## Manage RecordTypes filtering condition
121121

122-
You can enable RecordTypes filtering during flow log creation by choosing which flow record formats to collect in order to tailor logging output without generating unnecessary data.
122+
You can enable RecordTypes filtering during flow log creation by choosing which flow record formats to collect in order to tailor logging output without generating unnecessary data. You can also update RecordTypes filterning condition for an existing flow log.
123123

124124
```azurepowershell-interactive
125125
# Enable RecordTypes filtering while creating flowlog
@@ -133,37 +133,37 @@ New-AzNetworkWatcherFlowLog `
133133
```
134134

135135
```azurepowershell-interactive
136-
# Update RecordTypes filtering condition on existing flow log
137-
Set-AzNetworkWatcherFlowLog `
138-
-Enabled $true -Name <FlowLog Name> `
136+
# Enable RecordTypes and EnabledFilteringCriteria filtering while creating flow log
137+
New-AzNetworkWatcherFlowLog `
138+
-Enabled $true -Name <FlowLog Name> `
139139
-NetworkWatcherName <Network Watcher Name> `
140140
-ResourceGroupName <Resource Group Name> `
141141
-StorageId <Storage Account ID> `
142142
-TargetResourceId <Target Resource/VNet ID> `
143+
-EnabledFilteringCriteria "<Filtering Criteria Expression>" `
143144
-RecordTypes "<Record Types>"
144145
```
145146

146147
```azurepowershell-interactive
147-
# Remove RecordTypes filtering condition from existing flow log
148+
# Update RecordTypes filtering condition on existing flow log
148149
Set-AzNetworkWatcherFlowLog `
149150
-Enabled $true -Name <FlowLog Name> `
150151
-NetworkWatcherName <Network Watcher Name> `
151152
-ResourceGroupName <Resource Group Name> `
152153
-StorageId <Storage Account ID> `
153154
-TargetResourceId <Target Resource/VNet ID> `
154-
-RecordTypes ""
155+
-RecordTypes "<Record Types>"
155156
```
156157

157158
```azurepowershell-interactive
158-
# Enable RecordTypes and EnabledFilteringCriteria filtering while creating flow log
159-
New-AzNetworkWatcherFlowLog `
160-
-Enabled $true -Name <FlowLog Name> `
159+
# Remove RecordTypes filtering condition from existing flow log
160+
Set-AzNetworkWatcherFlowLog `
161+
-Enabled $true -Name <FlowLog Name> `
161162
-NetworkWatcherName <Network Watcher Name> `
162163
-ResourceGroupName <Resource Group Name> `
163164
-StorageId <Storage Account ID> `
164165
-TargetResourceId <Target Resource/VNet ID> `
165-
-EnabledFilteringCriteria "<Filtering Criteria Expression>" `
166-
-RecordTypes "<Record Types>"
166+
-RecordTypes ""
167167
```
168168

169169
## Related content

0 commit comments

Comments
 (0)