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

Background information

ActionTrail is a service that monitors and records the actions of your Alibaba Cloud account, including the access to and management of cloud products and services by using the Alibaba Cloud 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 top navigation bar, select a region.
  3. In the left-side navigation pane, click Action Trail.
    facaozuoshenji1
  4. On the Action Trail page, perform the following operations:
    1. Select the event type that you want to view.
    2. Set the time period in which the events occur.
    3. Click fcimage2 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 manage resources such as functions, services, triggers, and custom domains can be queried from the logs. For more information, see List of operations by function.
    • The invokeFunction operations cannot be queried from the logs.
  5. Select a log that you want to view and click imagefc to view the details.
    You can click Event JSON to view details about a log, as shown in the following figure.fccaozuoshenji3
    Note You can also click Event Definition to view the event log reference. For more information, see ActionTrail event log reference.