If you want to analyze the historical events that were generated in the last 90 days
or download these events to meet audit requirements, you can create a historical event
delivery task to deliver these events to Log Service.
Limits
- Historical events can be delivered only to Log Service.
- Only one historical event delivery task can be running at a time within an Alibaba
Cloud account.
Procedure
- Log on to the ActionTrail console.
- In the left-side navigation pane, click Historical Event Delivery Tasks.
- In the top navigation bar, select the region where you want to create a historical
event delivery task.
Note This region must be the same as the region where the trail resides.
- On the Historical Event Delivery Tasks page, click Create Task.
- On the Create Task page, select the trail.
Note After you select the trail, the system automatically fills in the region from which
the trail delivers events, the region where the Log Service project resides, the name
of the Log Service project, and the information about the Log Service Logstore.
- Click Confirm.
After you create the historical event delivery task, you can view the trail, the time
range of the historical events that can be delivered, the delivery status, the time
when the task is created, and the time when the task is complete on the
Historical Event Delivery Tasks page.
Note
- A historical event delivery task delivers only the events whose type and region must
the same as those you specified when you created the associated trail. For example,
Trail A that is used to collect the write events generated in the China (Hangzhou)
region is created, and a historical event delivery task that is associated with Trail
A is created. In this case, the historical event delivery task can be used to deliver
the write events that were generated in the China (Hangzhou) region in the last 90
days to the specified delivery destination.
- A historical event delivery task delivers only the events that were generated in the
time range from 90 days before the current time to 5 minutes after the trail that
is associated with the task takes effect. For example, you have created Trail A 40
days before you create a historical event delivery task that is associated with Trail
A. In this case, the task delivers only the events that were generated in the last
50 days before Trail A was created.