ActionTrail records operations logs for you to track, view, and analyze the actions of your Alibaba Cloud account. This topic describes how to view operations logs in the Function Compute console.

Background information

ActionTrail is a service that monitors and records the actions of your Alibaba Cloud account. The actions include the 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 Log Service Logstores or Object Storage Service (OSS) buckets. Then, you can perform behavior analysis, security analysis, resource change tracking, and compliance auditing based on the events.

Procedure

  1. Log on to the Function Compute console.
  2. In the left-side navigation pane, choose More Features > Audit Logs.
  3. In the top navigation bar, select the region where your Kubernetes cluster is deployed.
  4. On the Audit Logs page, configure the parameters.
    1. Select the event type that you want to view.
    2. Configure the time period in which the events occurred.
    3. Click the fcimage2 icon to search for the events.
    Notice
    • The ActionTrail 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 invokeFunction operation cannot be queried from the logs.
  5. Find the log that you want to view and click the imagefc icon to view details. You can also click Event Detail in the Event Interpretation dialog box to view the log details.