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/network-watcher-nsg-flow-logging-overview.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ Flow logs are the source of truth for all network activity in your cloud environ
48
48
- Logs are collected through the Azure platform and do not affect customer resources or network performance in any way.
49
49
- Logs are written in the JSON format and show outbound and inbound flows on a per NSG rule basis.
50
50
- Each log record contains the network interface (NIC) the flow applies to, 5-tuple information, the traffic decision & (Version 2 only) throughput information. See _Log Format_ below for full details.
51
-
- Flow Logs have a retention feature that allows automatically deleting the logs up to a year after their creation
51
+
- Flow Logs have a retention feature that allows automatically deleting the logs up to a year after their creation. **NOTE**: Retention is available only if you use [General purpose v2 Storage accounts (GPv2)](https://docs.microsoft.com/azure/storage/common/storage-account-overview#types-of-storage-accounts).
- **Microsoft.Insights** resource provider is not registered
370
370
371
371
If you received an _AuthorizationFailed_ or a _GatewayAuthenticationFailed_ error, you might have not enabled the Microsoft Insights resource provider on your subscription. [Follow the instructions](https://docs.microsoft.com/azure/network-watcher/network-watcher-nsg-flow-logging-portal#register-insights-provider) to enable the Microsoft Insights provider.
372
372
373
-
### **I have enabled NSG Flow Logs but do not see data in my storage account**
373
+
**I have enabled NSG Flow Logs but do not see data in my storage account**
374
374
375
375
- **Setup time**
376
376
@@ -380,21 +380,21 @@ NSG Flow Logs may take up to 5 minutes to appear in your storage account (if con
380
380
381
381
Sometimes you will not see logs because your VMs are not active or there are upstream filters at an App Gateway or other devices that are blocking traffic to your NSGs.
382
382
383
-
### **I want to automate NSG Flow Logs**
383
+
**I want to automate NSG Flow Logs**
384
384
385
385
Support for automation via ARM templates is currently not available for NSG Flow Logs. Read the [feature announcement](https://azure.microsoft.com/updates/arm-template-support-for-nsg-flow-logs/) for more information.
386
386
387
387
## FAQ
388
388
389
-
### **What does NSG Flow Logs do?**
389
+
**What does NSG Flow Logs do?**
390
390
391
391
Azure network resources can be combined and managed through [Network Security Groups (NSGs)](https://docs.microsoft.com/azure/virtual-network/security-overview). NSG Flow Logs enable you to log 5-tuple flow information about all traffic through your NSGs. The raw flow logs are written to an Azure Storage account from where they can be further processed, analyzed, queried, or exported as needed.
392
392
393
-
### **Does using Flow Logs impact my network latency or performance?**
393
+
**Does using Flow Logs impact my network latency or performance?**
394
394
395
395
Flow logs data is collected outside of the path of your network traffic, and therefore does not affect network throughput or latency. You can create or delete flow logs without any risk of impact to network performance.
396
396
397
-
### **How do I use NSG Flow Logs with a Storage account behind a firewall?**
397
+
**How do I use NSG Flow Logs with a Storage account behind a firewall?**
398
398
399
399
To use a Storage account behind a firewall, you have to provide an exception for Trusted Microsoft Services to access your storage account:
400
400
@@ -406,11 +406,11 @@ To use a Storage account behind a firewall, you have to provide an exception for
406
406
407
407
You can check the storage logs after a few minutes, you should see an updated TimeStamp or a new JSON file created.
408
408
409
-
### **How do I use NSG Flow Logs with a Storage account behind a Service Endpoint?**
409
+
**How do I use NSG Flow Logs with a Storage account behind a Service Endpoint?**
410
410
411
411
NSG Flow Logs are compatible with Service Endpoints without requiring any extra configuration. See the [tutorial on enabling Service Endpoints](https://docs.microsoft.com/azure/virtual-network/tutorial-restrict-network-access-to-resources#enable-a-service-endpoint) in your virtual network.
412
412
413
-
### **What is the difference between flow logs versions 1 & 2?**
413
+
**What is the difference between flow logs versions 1 & 2?**
414
414
415
415
Flow Logs version 2 introduces the concept of _Flow State_ & stores information about bytes and packets transmitted. [Read more](https://docs.microsoft.com/azure/network-watcher/network-watcher-nsg-flow-logging-overview#log-file)
0 commit comments