Using IBM Log Analysis to view VPN 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 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:
- From the IBM Cloud console, click the Navigation Menu icon > Observability to access the Observability dashboard.
- Select Logging. The list of logging instances appears.
- Click Options > Edit platform.
- 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.
- Confirm that you want to stop receiving platform logs to the previous region.
- Click Select.
Viewing VPN logs in IBM Log Analysis
To view the IBM Cloud VPN for VPC logs in the IBM Log Analysis instance:
- Open the IBM Log Analysis instance dashboard.
- Apply the source filter for is.vpn to filter logs from VPN for VPC.
- Click the Sources filter menu.
- Click Apply.
Additionally, you can enter the VPN gateway ID in the Search field to filter the logs specific to a VPN gateway.