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 Advanced Features > Audit Logs.
    caozuoshenjicaozuoshenji
  3. In the top navigation bar, select the region where your Kubernetes cluster is deployed.
  4. On the Audit Logs page, set the parameters.
    1. Select the event type that you want to view.
    2. Set 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 API reference.
    • The invokeFunction operation cannot be queried from the logs.
  5. Select the target log and click the imagefc icon to view the interpretation of the event. In the View dialog box, click Event Details to view the details of the event.
    fccaozuoshenji3
    Note You can also click Event Definition to view the event log reference. For more information, see Management event log reference.