Skip to content

Commit da4f6df

Browse files
authored
Fixing issues with example 2
1 parent cf875f2 commit da4f6df

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

articles/network-watcher/network-watcher-nsg-flow-logging-azure-resource-manager.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,17 +129,19 @@ Below are two examples of complete templates to set up NSG Flow Logs.
129129
"storageId": "/subscriptions/56abfbd6-ec72-4ce9-831f-bc2b6f2c5505/resourceGroups/MyCanaryFlowLog/providers/Microsoft.Storage/storageAccounts/storagev2ira",
130130
"enabled": true,
131131
"flowAnalyticsConfiguration": {
132-
"enabled": true,
133-
"workspaceResourceId": "91a3d1e9-698e-4a49-96dc-f6fc585ae888",
134-
"trafficAnalyticsInterval": 10
132+
"networkWatcherFlowAnalyticsConfiguration": {
133+
"enabled": true,
134+
"workspaceResourceId": "/subscriptions/56abfbd6-ec72-4ce9-831f-bc2b6f2c5505/resourceGroups/defaultresourcegroup-wcus/providers/Microsoft.OperationalInsights/workspaces/1c4f42e5-3a02-4146-ac9b-3051d8501db0",
135+
"trafficAnalyticsInterval": 10
136+
}
135137
},
136138
"retentionPolicy": {
137139
"days": 5,
138140
"enabled": true
139141
},
140142
"format": {
141143
"type": "JSON",
142-
"version": 1
144+
"version": 2
143145
}
144146
}
145147

0 commit comments

Comments
 (0)