Monitor, log, and optimize your Google Cloud network

Learn about the monitoring, logging, and observability options available for your resources in Google Cloud networking. Proactive monitoring and deep observability help you identify performance bottlenecks, troubleshoot connectivity issues, verify security compliance, and optimize network costs across your cloud topology. For more information, see Network security guidelines.

Network Intelligence Center

Network Intelligence Center is a centralized and fully managed diagnostic suite offering real-time topology maps, active connectivity tests, performance logging, and automated configuration audits. By combining active testing, dynamic performance metrics, and continuous automated configuration audits within a single console experience, it helps you reduce downtime, optimize costs, and maintain standard security postures. Network Intelligence Center includes the following products:

  • Performance and health:
    • Cloud Network Insights: Monitor network health and application performance across hybrid and multicloud environments.
    • Network Analyzer: View network and service issues, insights, and best practice recommendations from automatic discoveries.
    • Network Topology: Visualize the topology of your Virtual Private Cloud (VPC) networks and their associated metrics.
    • Performance Dashboard: View packet loss and latency between zones where you have VMs.
  • Traffic:
    • Connectivity Tests: Test network connectivity to and from your VPC network.
    • Flow Analyzer: Monitor and visualize network traffic flows based on VPC Flow Logs data.
  • Security:
    • Firewall Insights: View usage for your VPC firewall rules and optimize their configuration.

VPC Flow Logs

Use VPC Flow Logs to collect network telemetry through your virtual machines, serverless boundaries, and hybrid tunnels.

VPC Flow Logs samples real-time network packets through your VPC resources to generate granular, 5-tuple aggregated flow data. By capturing and streaming telemetry from your connections, it serves as a diagnostic foundation for forensic audits, cost accounting, security, and real-time traffic visualization.

VPC Flow Logs samples the following packets:

  • Packets that are sent from and received by virtual machine (VM) instances, including instances used as Google Kubernetes Engine nodes.
  • Packets that are sent from and received by Cloud Run resources configured with Direct VPC egress.
  • Packets that are sent through VLAN attachments for Cloud Interconnect and Cloud VPN tunnels.

You can view flow logs in Cloud Logging, and you can export logs to any destination that Cloud Logging export supports. These logs can be used for network monitoring, forensics, security analysis, and expense optimization.

Packet Mirroring

Packet Mirroring clones the traffic of the specified instances in your VPC network and forwards it for examination. Packet Mirroring captures all traffic and packet data, including payloads and headers. The capture can be configured for both egress and ingress traffic, only ingress traffic, or only egress traffic. Use Network Security Integration Packet Mirroring to analyze your workloads' network traffic at scale and monitor network traffic using third-party virtual appliances. For more information, see Out-of-band integration overview.

Firewall Rules Logging

VPC Firewall Rules Logging provides active observability and audit verification for network security boundaries by recording allow and deny decisions. By logging individual rule evaluations, security operators can proactively inspect rule efficiency, track attempted structural violations, verify that new policies behave as expected, and audit volumetric traffic impacts of security policies in real time.