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 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 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 click Event Detail to view the details of the 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.