All Products
Search
Document Center

ActionTrail:Management Inner-ActionTrail

Last Updated:Jan 17, 2024

After you create a trail for the Inner-ActionTrail feature, the ActionTrail delivers platform operation events to a specified log service to audit and monitor platform operations so that you can analyze the platform operation events. This topic describes how to create, update, delete, and disable a platform-ActionTrail trail.

Prerequisites

The Inner-ActionTrail feature is enabled. For more information, see Enable Inner-ActionTrail.

Create a trail

  1. Log on to the ActionTrail console.

  2. In the left-side navigation pane, choose Inner-ActionTrail > Create Trail.

  3. In the Trail Basic Settings step, set Trail Name and click Next.

  4. In the Event Delivery Settings page, select Delivery to Log Service, select a log project, and then click Next.

    • New Log Service Project: If you select this option, select a region from the Logstore Region drop-down list and configure the Project Name parameter.

    • Existing Log Service Project: If you select this option, select a region from the Logstore Region drop-down list and a project name from the Project Name drop-down list.

  5. In the Preview and Create page, confirm the tracking information and click Submit.

Result

ActionTrail automatically creates a Logstore whose name is in the innertrail_<trail name>format as well as the indexes and charts for the Alibaba Cloud-initiated events. You can find the trail on the Trails page, click Log Analysis in the Log Service column to analyze the events, or click Log Reports to view the distribution charts of the events.

Note

For more information about the fields in Alibaba Cloud-initiated events collected by using the Inner-ActionTrail feature, see Fields in Alibaba Cloud-initiated events.

Modify a trail

  1. Log on to the ActionTrail console.

  2. In the left-side navigation pane, choose Inner-ActionTrail > Trail.

  3. Find the trail that you want to update and click the trail name.

  4. Click theimageicon in the upper-right corner.

  5. On the Trail Basic Settings step, set Trail Name and click Next.

  6. In the Event Delivery Settings step, select Delivery to Log Service, select a log project, and then click Next.

    • New Project: If you select this option, select a region from the Logstore Region drop-down list and set the Project Name parameter.

    • Existing Project: If you select this option, select a region from the Logstore Region drop-down list and a project name from the Project Name drop-down list.

  7. In the Preview and Create step, confirm the updated trail information and click Submit.

Delete a trail

  1. Log on to the ActionTrail console.

  2. In the left-side navigation pane, choose Inner-ActionTrail > Trail.

  3. On the Trails page, find the trail that you want to delete and click Delete in the Actions column.

  4. In the Delete Trail message, click Confirm.

    Note

    Platform event logs that are delivered to the Log Service Logstore are not deleted.

Disable a trail

Note

When disabled, the ActionTrail stops delivering platform action events to the specified address, but retains the existing parameter configurations.

  1. Log on to the ActionTrail console.

  2. In the left-side navigation pane, choose Inner-ActionTrail > Trail.

  3. On the Trail page, find the trail that you want to disable and click the trail name.

  4. Turn off Status.

  5. In the Delete Trail message, click Confirm.

    Note

    If you want to enable the trail, turn on the switch.

References

After you ship platform events to Log Service, you can query, analyze, download, ship, and process logs, and create alerts. For more information, see Common operations for cloud service logs.