In this Azure article, we will discuss Azure Network Watcher, its Features, and different methods to use it, along with best practices and pricing details.
Azure Network Watcher
What Is Azure Network Watcher?
Azure Network Watcher is a native Azure service designed to monitor, diagnose, and gain insights into your Azure Virtual Network (VNet) resources. It provides a suite of tools that help you troubleshoot connectivity issues, analyze traffic flows, and optimize network performance in real-time.
Think of Azure Network Watcher as your cloud network’s health monitor.
Azure Network Watcher is an excellent tool that helps you with different tools for monitoring and diagnosing different issues related to your network. It provides you with the logs for the resources that belong to your virtual network.
It also helps you to view metrics and mainly provides you the opportunity to monitor your Azure Virtual Networks, your Virtual Machines (VM), Load Balancers, your application Gateways, etc., and helps you to repair in case of any issues concerning the networks.
Why Use Azure Network Watcher?
- Proactive Monitoring: Detect and resolve network issues before they affect end-users.
- Security Analysis: Inspect network traffic and security group rules to identify vulnerabilities.
- Performance Optimization: Analyze latency and throughput to optimize cloud applications.
- Compliance: Maintain logs and diagnostics for audit and compliance purposes.
- Cost Efficiency: Prevent costly downtime and inefficient network configurations.
Azure Network Watcher Features
Below is the list of key features of Azure Network Watcher.
Better Monitoring Capability
Azure Network Watcher helps you monitor various endpoints, VMs, IPv4 addresses, FQDNs, and more. You can easily get a clear picture of the communication, network issues, latency, etc.
Tools for diagnosing
It provides various diagnostic tools to help you identify issues related to your virtual network, including network traffic, routing problems within your VM, outbound connections from your Virtual Machine, and issues with your Azure Virtual Network Gateway. Additionally, it enables you to capture packets from or to your Virtual Machine.
View Metrics
You can view metrics or summaries of the network resources you have created or deployed within your Azure subscription, including resource names, current limits, and usage within your subscription or region.
Viewing The Logs
Azure Network Watcher allows you to view and analyze the logs.
With the help of the NSG flow log, you can log the IP address of your source and destination, the protocol, and the port details, etc.
You can enable logging for various network resources, including load balancers, application gateways, and virtual network gateways.
It is easy to view the logs with the help of Power BI and the traffic analytics feature, where you will get a perfect visualization of your NSG flow logs.
Using Azure Network Watcher: Different Methods
1. Packet Capture
Packet capture lets you collect network traffic packets from a VM’s NIC for deep packet inspection.
How to Use Packet Capture
- Define filters (e.g., source/destination IP, port).
- Start the capture session.
- Download and analyze the
.pcapfile with tools like Wireshark.