All Products
Search
Document Center

Elastic Compute Service:View historical system events

Last Updated:Jul 14, 2025

You can view Elastic Compute Service (ECS) system events that were handled within the last week to obtain data for troubleshooting and analysis purposes.

View historical system events in the ECS console

  1. Go to ECS console - Events.

  2. On the Events page, you can view system events of different types in different regions to obtain information such as instance IDs, event types, and event states.

    The following figure shows the detailed information of the Instance Configuration Change and Restart Events.

    2EDDCE8E-AE98-4e7b-ACC8-E9D11A81AEB4

Query historical system events by using Alibaba Cloud CLI

  1. Obtain the ID of the instance for which you want to query historical system events.

    aliyun ecs DescribeInstances --RegionId <TheRegionId> --output cols=InstanceId,InstanceName rows=Instances.Instance[]
  2. Call the DescribeInstanceHistoryEvents operation to query the historical system events of the instance.

    aliyun ecs DescribeInstanceHistoryEvents --RegionId <TheRegionId> --InstanceId i-bp13kpqetxnp2a****** --output cols=EventId,EventTypeName rows=InstanceSystemEventSet.InstanceSystemEventType[]