This topic describes the event history feature of ApsaraDB for RDS. You can enable this feature to view O&M logs of events generated by you or Alibaba Cloud. Logs store details of events such as instance creation and parameter modification.


You can use this feature for free during the public preview and will be notified of the charges after the public preview.


  • Track instance management operations.
  • Audit instance operations for security.
  • Audit the management compliance of cloud service providers for security-demanding industries such as finance and government.

Enable event history

  1. Log on to the ApsaraDB for RDS console.
  2. In the upper-left corner of the page, select the target region.
    Select a region
  3. In the left-side navigation pane, click Event History.
    Event history

Event history parameters

Details about historical events are displayed on the Event History page of ApsaraDB for RDS. Historical event details include the resource type, resource name, and event type. They are described as follows.
Parameter Description
Resource Type The RDS resource type. The resource type can only be Instance.
Resource Name The RDS resource name. After you set Resource Type to Instance, the instance ID is displayed in the Resource Name column.
Event Type The type of the event, which can be Instance Management, Database Management, Read/Write Splitting, or Network. For more information, see Events.
Event Name The name of the event. Some example event names of Instance Management are Create Instance, Delete Instance, Change Specifications, and Restart Instance. For more information, see Events.
Run At The time when the event was executed.
User Type The initiator of the event. Valid values:
  • User: uses the console or API operations to initiate actions.
  • System: performs automatic O&M or periodic system tasks.
  • Internal O&M personnel: uses the O&M system to initiate actions.
Cause The cause of the event. Events can be triggered by the following types of actions:
  • Actions initiated in the console or through API operations
  • System or manual O&M actions
Parameter The request parameters used to initiate actions in the console.
  • The latency of collected event history to be displayed is about five minutes.
  • Events are displayed by region. To view events occurred in other regions, you can switch the region in the console.
View event history


Event Type Event Name (API operation)
Instance Management Restart Instance (RestartDBInstance)
Renew (RenewInstance)
Change Specifications (ModifyDBInstanceSpec)
Migrate Across Zones (MigrateToOtherZone)
Shrink Log (PurgeDBInstanceLog)
Upgrade Kernel Version (UpgradeDBInstanceEngineVersion)
Modify Instance Description (ModifyDBInstanceDescription)
Modify Maintenance Window (ModifyDBInstanceMaintainTime)
Create Read-only Instance (CreateReadOnlyDBInstance)
Destroy Instance (DestroyDBInstance)
Modify Upgrade Mode of Kernel Version (ModifyDBInstanceAutoUpgradeMinorVersion)
Edit Parameters (ModifyParameter)
CloudDBA Create Diagnostics Report (CreateDiagnosticReport)
Database Management Create Database (CreateDatabase)
Delete Database (DeleteDatabase)
Modify Database Description (ModifyDBDescription)
Replicate Database Between Instances (CopyDatabaseBetweenInstances)
Modify System Collation and Time Zone (ModifyCollationTimeZone)
Read-write Splitting Create Read-write Splitting Endpoint (AllocateReadWriteSplittingConnection)
Query System-assigned Weight (CalculateDBInstanceWeight)
Modify Read-write Splitting Policy (ModifyReadWriteSplittingConnection)
Release Read/Write Splitting Endpoint (ReleaseReadWriteSplittingConnection)
Security Management Enable Enhanced Whitelist (MigrateSecurityIPMode)
Enable SSL (ModifyDBInstanceSSL)
Enable TDE (ModifyDBInstanceTDE)
Modify Whitelist (ModifySecurityIps)
Account Management Create Account (CreateAccount)
Delete Account (DeleteAccount)
Authorize Account to Access Database (GrantAccountPrivilege)
Revoke Database Permissions from Account (RevokeAccountPrivilege)
Modify Description of Database Account (ModifyAccountDescription)
Reset Account Password (ResetAccountPassword)
Reset Permissions of Superuser Account (ResetAccount)
High Availability (HA) Trigger Switchover Between Primary and Secondary Instances (SwitchDBInstanceHA)
Modify HA Mode (ModifyDBInstanceHAConfig)
Network Management Apply for Public Endpoint (AllocateInstancePublicConnection)
Modify Expiry Time of Endpoint (ModifyDBInstanceNetworkExpireTime)
Modify Endpoint and Port (ModifyDBInstanceConnectionString)
Switch Network Type (ModifyDBInstanceNetworkType)
Release Public Endpoint (ReleaseInstancePublicConnection)
Switch Between Internal and Public Endpoints (SwitchDBInstanceNetType)
Log Management Enable/disable Log Audit (ModifySQLCollectorPolicy)
Backup Restoration Create Data Backup (CreateBackup)
Clone Instance (CloneDBInstance)
Create Temporary Instance (CreateTempDBInstance)
Modify Backup Policy (ModifyBackupPolicy)
Restore Backup Set to Original Instance (RestoreDBInstance)
Delete Data Backup (DeleteBackup)
Restore Database (RecoveryDBInstance)
Cross-region Backup Restoration Restore Data to New Instance Across Regions (CreateDdrInstance)
Modify Cross-region Backup Settings (ModifyInstanceCrossBackupPolicy)
SQL Server Backup Migration to Cloud Restore Backup File in OSS to RDS Instance (CreateMigrateTask)
Make Database Available While Migrating Backup Data to Cloud (CreateOnlineDatabaseTask)
Monitoring Set Monitoring Frequency (ModifyDBInstanceMonitor)
Data Migration Create Upload Path for SQL Server (CreateUploadPathForSQLServer)
Import Data from Other RDS (ImportDatabaseBetweenInstances)
Cancel Migration Task (CancelImport)
Tag Management Bind Tags to Instance (AddTagsToResource)
Remove Tag (RemoveTagsFromResource)

Related operations

Operation Description
DescribeEvents Queries the events of an RDS instance.
DescribeActionEventPolicy Queries whether the event history feature is enabled for an RDS instance.
ModifyActionEventPolicy Enables or disables the event history feature of an RDS instance.