Using IBM Log Analysis to view VPN server logs
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:
- 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 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.
- Confirm that you want to stop receiving platform logs to the previous region.
- 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:
- Open the IBM Log Analysis instance dashboard.
- Apply the source filter for is.vpn-server to filter logs from VPN for VPC.
- Click the Sources filter menu.
- Click Apply.
Additionally, you can enter the VPN server ID in the Search field to filter the logs specific to a VPN server.