IBM Cloud Docs
Using IBM Log Analysis to view VPN server logs

Using IBM Log Analysis to view VPN server logs

As of 28 March 2024, the IBM Log Analysis service is deprecated and will no longer be supported as of 30 March 2025. Customers need to migrate to IBM Cloud Logs before 30 March 2025. During the migration period, customers can use IBM Log Analysis along with IBM Cloud Logs. Logging is the same for both services. For information about migrating from IBM Log Analysis to IBM Cloud Logs and running the services in parallel, see migration planning.

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

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 server

    After the VPN server 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 server is provisioned and the logging instance that the logs should be sent to. This ensures logs from all VPN servers 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 server logs in IBM Log Analysis

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

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

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