This topic describes how to download the audit logs of an ApsaraDB for Redis instance to your computer. You can archive, filter, and analyze the downloaded audit logs.


The audit log feature is enabled for the ApsaraDB for Redis instance. For more information about audit logs, see Enable the new audit log feature.


  1. Log on to the ApsaraDB for Redis console and go to the Instances page. In the top navigation bar, select the region in which the instance is deployed. Then, find the instance and click the instance ID.
  2. In the left-side navigation pane, choose Logs > Audit Log.
  3. In the log chart section, choose More _Download Log > Download Log in the upper-right corner of the specified chart.
    Note You can filter logs by using the following methods. Then, you can download the content that meets your requirements.
    • Filter log data by keyword, type, account, or client IP address. For more information, see Filter the audit logs of an instance.
    • Filter the log entries of a chart based on the time when the log entries were generated. Click Select Time Range above the Download Log button to select a time range.
    Download logsAfter you click Download Log, the log entries that meet the specified criteria are downloaded in the web browser and saved as a .csv file to your computer. You can view the file by using tools such as Excel. View logs in a CSV file