This topic describes how to disable audit logging for an ApsaraDB for MongoDB instance.
ApsaraDB for MongoDB does not support disabling the audit log feature. To reduce the number of audit logs and save storage space, you can disable audit logging for specific operation types.
If you disable audit logging for a specific operation type, the system ignores the operation type in future auditing. However, the audit logs generated before you modify the settings are retained. You can use the audit logs for backtracking. For more information, see Query audit logs.
Disable audit logging
- Log on to the ApsaraDB for MongoDB console.
- In the upper-left corner of the page, select the resource group and the region of the target instance.
- In the left-side navigation pane, click Replica Set Instances or Sharded Cluster Instances based on the instance type.
- Find the target instance and click its ID.
- In the left-side navigation pane of the Instance page, choose .
- In the upper-left corner of the page, click Audit Log Filter Setting.
- In the Audit Log Filter Setting dialog box, clear the target operation types, and click Submit.