This topic describes how to enable the log audit feature in the ApsaraDB for MongoDB console to send audit logs to Log Service.



  1. Log on to the ApsaraDB for MongoDB console.
  2. In the upper-left corner of the page, select the region where the ApsaraDB for MongoDB instance is located.
  3. On the Replica Set Instances or Sharded Cluster Instances page, click the instance for which you want to enable the log audit feature.
  4. In the left-side navigation pane, choose Data Security > Audit Logs.
  5. Click Enable Audit Logs.
  6. In the Enable Audit Logs dialog box, click OK.

What to do next

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