You can filter audit logs by account name, client IP, database name (database ID), command, or cluster node.


  • Either of the following instances is used: ApsaraDB for Redis instances of Community Edition and performance-enhanced instances of Enhanced Edition.
  • The engine version of the ApsaraDB for Redis instance is Redis 4.0 or later.
  • The ApsaraDB for Redis instance uses the latest minor version.
  • The audit log feature is enabled.
  • Logs exist in the specified time range.
Note If your instance version does not allow you to query audit logs and must be upgraded before you can use the audit log feature, upgrade the major or minor version as needed. For more information, see Upgrade the minor version and Upgrade the major version.


This topic is applicable to earlier versions of the audit log feature of ApsaraDB for Redis. For more information about the new version, see Filter audit logs.


  1. Log on to the ApsaraDB for Redis console.
  2. In the top navigation bar, select the region where the target instance is located.
  3. On the Instances page, click the Instance ID of the target instance.
  4. The Instance Information page appears. In the left-side navigation pane, choose Logs > Audit Log.
  5. Select or enter the required conditions to filter audit logs.Filter audit logs
    Note For cluster instances, you can select Child ID to filter logs.
  6. Click Filter.