Identify VPN maintenance events

This document provides an overview of Cloud VPN maintenance events and how you can identify them using log messages.

In the Google Cloud console, the following messages might appear: Starting VPN task maintenance or VPN task maintenance Completed. These messages indicate that a Cloud VPN maintenance event occurred during a specific time period.

View Cloud VPN maintenance events

You can view maintenance event logs by using the Google Cloud console.

Console

  1. In the Google Cloud console, go to the VPN page.

    Go to VPN

  2. Click the name of the tunnel you want to inspect.

  3. Under Cloud VPN gateway, next to VPN Gateway logs, click View.

    Logs Explorer opens with a default query for that gateway (resource.type="vpn_gateway" and resource.labels.gateway_id).

  4. Expand a log entry in the query results and copy the value of the labels.tunnel_id field, or run gcloud compute vpn-tunnels list --format="table(name,id,region)" to retrieve the numeric tunnel ID.

  5. Run the following query in the query editor:

    resource.type="vpn_gateway"
    log_id("cloud.googleapis.com/ipsec_events")
    labels.tunnel_id="TUNNEL_ID"
    (
        textPayload:"Starting VPN task maintenance" OR
        textPayload:"VPN task maintenance Completed"
    )

    Replace TUNNEL_ID with the numeric ID of your VPN tunnel.

  6. Check the logs for the following messages:

    • Starting VPN task maintenance: this message indicates the beginning of the maintenance process for a specific VPN task.

    • VPN task maintenance Completed: this message confirms that the maintenance for the VPN task has successfully finished.

These maintenance activities are designed to be non-disruptive, so that you have continuous service—no packet loss, service interruptions, or downtime during these events.