Hello Ming Yu
Thanks for your response. If you’re seeing only IKEDiagnosticLog in the AzureDiagnostics table and no other categories like TunnelDiagnosticLog or GatewayDiagnosticLog, it most likely means those logs haven’t been generated yet — either due to:
- No tunnel events/errors to trigger them,
- Or insufficient VPN activity/state changes.
When VPN Traffic Drops to Zero, key Log Categories to Focus On
If traffic drops suddenly, here’s what to look for, in order of relevance:
TunnelDiagnosticLog
Primary log for tunnel-level issues:
- Tunnel up/down events
- Disconnection or dead-peer detection
- Negotiation failures beyond IKE phase
IKEDiagnosticLog
Covers Phase 1 negotiation (authentication, encryption handshake):
- Useful for initial connection or rekeying issues.
- If tunnel fails to establish at all, this is key.
GatewayDiagnosticLog
Covers high-level operational events:
- Gateway resets
- Configuration changes
- Health probe failures (can hint at misconfigurations)
- This log is less detailed but still useful for detecting infrastructure issues.
RouteDiagnosticLog
Only populated when:
- BGP is enabled and dynamic routes are being exchanged
- There are route flaps or issues with learned/published prefixes Use if your gateway is route-based with BGP (common with ExpressRoute + VPN coexistence).
P2SDiagnosticLog
Only relevant if you’re using Point-to-Site (P2S) VPN connections — not applicable for Site-to-Site setups.
Refer Troubleshoot-vpn-with-azure-diagnostics which provides detailed information about the logs.
What to query when Traffic Stops:
1.Query for tunnel status:
AzureDiagnostics | where Category == "TunnelDiagnosticLog" | where Message contains "Tunnel is down" | sort by TimeGenerated desc
- Query for IKE issues (e.g., rekey failures, cert/auth issues):
AzureDiagnostics | where Category == "IKEDiagnosticLog" | where Message contains "failure" or Message contains "error" | sort by TimeGenerated desc
- Check if gateway itself had issues:
AzureDiagnostics | where Category == "GatewayDiagnosticLog" | sort by TimeGenerated desc
If none of these logs show recent activity around the time of the traffic drop, it likely means:
• No events were triggered (e.g., the tunnel is still technically up, but routes are broken)
• The issue is on the on-prem side (e.g., firewall, routing, dead peer, etc.)
Please don’t forget to close the thread by clicking "Accept the answer" and "Yes" wherever the information provided helps you, as this can be beneficial to other community members.