This topic describes how to view the operation and maintenance (O&M) events that are performed by users and Alibaba Cloud on an ApsaraDB RDS for MySQL instance. These events include instance creation and parameter reconfiguration.

Billing

The event history feature is free of charge in the public preview phase, but starts to be charged after the public preview phase ends.

Scenarios

  • Track instance management operations.
  • Audit the security of instance management operations.
  • Audit the compliance of the instance management operations that are performed by Alibaba Cloud. This applies to security-demanding sectors, such as finance and government affairs.

View the event history feature

  1. Log on to the ApsaraDB for RDS console.
  2. In the top navigation bar, select the region for which you want to enable the event history feature.
    Select a region
  3. In the left-side navigation pane, click Event History.

Introduction to the Event History page

The Event History page shows details about historical events in the selected region. These details include the resource type, resource name, and event type. The following table describes the parameters of a historical event.
Parameter Description
Resource Type The type of the RDS resource managed in the event. Only the Instance resource type is supported.
Resource Name The name of the RDS resource managed in the event. If the value of the Resource Type parameter is Instance, the Resource Name column displays the ID of the involved RDS instance.
Event Type The type of the event, for example, Instance Management, Database Management, Read-write Splitting, and Network Management. For more information, see Events.
Event Name The operation executed in the event. For example, if the event type is Instance Management, supported operations include 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: initiates operations by using the ApsaraDB for RDS console or the API.
  • System: initiates automatic O&M operations or periodic tasks.
  • O&M Administrator: initiates manual O&M operations.
Cause The cause of the event. Valid values:
  • User Action: The event was initiated from a user by using the ApsaraDB for RDS console or the API.
  • System Action or O&M Action: The event was initiated from the system or an O&M administrator.
Parameters The request parameters used by a user to initiate the event in the ApsaraDB for RDS console.
Note
  • The Event History page shows the historical events that are generated about 5 minutes earlier.
  • Historical events are presented specific to regions. You can select the target region in the top navigation bar and then view the historical events in the selected region.
View historical events in a region

Events

Event type 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 ApsaraDB for RDS instance.
DescribeActionEventPolicy Queries the status of the event history feature of an ApsaraDB for RDS instance.
ModifyActionEventPolicy Enables or disables the event history feature of an ApsaraDB for RDS instance.