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 associated single-account trail
resides.
- On the Historical Event Delivery Tasks page, click Create Task.
- On the Create Task page, select the associated trail.
Note After you select a 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 a historical event delivery task, you can view the associated trail,
the scope of the historical events that can be delivered, the delivery status, the
time when the task was created, and the time when the task was complete on the
Historical Event Delivery Tasks page.
Note
- A historical event delivery task applies only to the same type of events that were
generated in the same region as you specified when you created the associated trail.
For example, you have created Trail A to collect the write events that are generated
in the China (Hangzhou) region and a historical event delivery task that is associated
with Trail A. 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 applies only to 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 took 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.