ActionTrail records operations logs for you to track, view, and analyze actions of your Alibaba Cloud account. This topic describes how to view operations logs in the Function Compute console.
Background information
ActionTrail is an Alibaba Cloud service that monitors and records actions of your Alibaba Cloud account. The actions include access to and management of Alibaba Cloud services by using the Alibaba Cloud Management console, API operations, and SDKs. ActionTrail records these actions as events. You can download these events from the ActionTrail console or configure ActionTrail to deliver these events to Simple Log Service Logstores or Object Storage Service (OSS) buckets. Then, you can perform operations, such as behavior analysis, security analysis, resource change tracking, and compliance audits based on the events.
Procedure
Log on to the Function Compute console.
In the left-side navigation pane, choose .
In the top navigation bar, select a region.
On the Audit Logs page, configure the following parameters.
Specify parameters to filter the logs that you want to view. For example, you can specify the Resource Type parameter to view information related to a specific resource type, such as functions, services, triggers, and custom domains.
Specify the time range during which the logs are generated.
ImportantActionTrail logs record API operations called by using SDKs, the command line interface (CLI), and the Function Compute console. API operations that are related to resources such as functions, services, triggers, and custom domain names can be queried from the logs. For more information, see List of operations by function.
The operations logs of the invokeFunction API operation cannot be queried.
Find the log that you want to view and click View Details in the Actions column to view the log details.