IBM Cloud Docs
Using IBM Log Analysis to view VPN logs

Using IBM Log Analysis to view VPN logs

You can use IBM® Log Analysis to view application and connection logs from your IBM Cloud VPN for VPC.

Before you begin

To initiate sending VPN logs to IBM Log Analysis, you need the following first:

  • An IBM Log Analysis instance (log retention is recommended)

  • A VPN gateway

    After the VPN gateway gets provisioned, note the ID and region.

Sending VPN logs to IBM Log Analysis in the UI

To send IBM Cloud VPN for VPC logs in to an instance of IBM Log Analysis, follow these steps:

  1. From the IBM Cloud console, click the Navigation Menu icon Menu icon > Observability to access the Observability dashboard.
  2. Select Logging. The list of logging instances appears.
  3. Click Options > Edit platform.
  4. Select the region where the VPN gateway is provisioned and the logging instance that the logs should be sent to. This ensures logs from all VPN gateways in the selected region are sent to the chosen logging instance.
  5. Confirm that you want to stop receiving platform logs to the previous region.
  6. Click Select.

Viewing VPN logs in IBM Log Analysis

To view the IBM Cloud VPN for VPC logs in the IBM Log Analysis instance:

  1. Open the IBM Log Analysis instance dashboard.
  2. Apply the source filter for is.vpn to filter logs from VPN for VPC.
  3. Click the Sources filter menu.
  4. Click Apply.

Additionally, you can enter the VPN gateway ID in the Search field to filter the logs specific to a VPN gateway.