View operation logs
The operation log feature for Classic Load Balancer (CLB) records activities related to the CLB service in your account.
Background information
The CLB operation log feature is integrated with ActionTrail. ActionTrail helps you monitor and record activities in your Alibaba Cloud account, including access to and use of cloud products and services through the Alibaba Cloud Management Console, OpenAPI, and other methods.
Query logs
-
Log on to the CLB console.
In the left-side navigation pane, choose .
On the Operation Log page, configure filter conditions to filter the logs and view operation details.
Troubleshooting example: CLB instance stops unexpectedly
When a CLB instance stops unexpectedly, you can use the operation log to identify the cause of the stop, such as a manual action or a system issue.
To troubleshoot this issue, follow these steps:
On the Operation Log page, set Event Name to SetLoadBalancerStatus, select the appropriate time range, and filter the results.
In the filtered results, click the target event to view its details. Focus on the following fields:
Event Source: The service endpoint where the operation originated, such as
slb-openapi-share.aliyuncs.com.Event Type: You can view how the operation was performed, such as through the console or an API call.
Operator: The identity of the user who performed the operation. For example,
rootindicates the root account, and a RAM username indicates a RAM user.
Based on this information, you can determine which account stopped the CLB instance and how the operation was performed.