This topic describes how to enable the log audit feature in the ApsaraDB for Redis console. This topic also describes how to use the feature to push audit logs, slow query logs, and operational logs to Log Service.

Prerequisites

Procedure

  1. Log on to the ApsaraDB for Redis console.
  2. In the upper-left corner of the page, select the region where the ApsaraDB for Redis instance resides.
  3. On the Instances page, click the name of the required instance.
  4. In the left-side navigation pane, choose Logs > Audit Log.
  5. Select Official Edition and click Enable Audit Logs.
  6. In the Enable Audit Logs dialog box, click OK.

What to do next

After ApsaraDB for Redis logs are collected by Log Service, you can query, analyze, download, ship, and transform the collected logs. You can also configure alerts for these logs. For more information, see Common operations on logs of Alibaba Cloud services.