QuestionQ269

VerifiedMonitor and maintain Azure resources

You have an Azure subscription with Traffic Analytics configured.

You deploy a new virtual machine named VM1 with the following settings:

  • Region: East US
  • Virtual network: VNet1
  • NIC network security group: NSG1

You need to monitor traffic for VM1 by using Traffic Analytics.

Which settings should you configure?

Explanation

Traffic analytics analyzes Network Watcher flow logs. NSG flow logs retire on September 30, 2027 and no longer support new flow log creation, so for a newly deployed VM you enable a virtual network flow log, here on VNet1, and turn on traffic analytics for that flow log with a Log Analytics workspace. Virtual network flow logs record all IP flows going through the virtual network, and every flow is evaluated through the applicable network security group rules, including NSG1's. VM diagnostic settings, NSG diagnostic settings and VM insights don't produce the flow-log data that traffic analytics processes.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!