You can modify the operation type for audit logs based on your business requirements. This topic describes how to modify the operation type for audit logs.
Prerequisites
The audit log feature is enabled. For more information, see Enable the audit log feature.
Impacts
If you disable the audit log feature on specific operation types, ApsaraDB for MongoDB ignores the operations of these types during auditing. However, earlier audit logs that were generated for these operation types are retained. You can still view these audit logs and use the logs to resolve functionality issues. For more information, see View audit logs.
Procedure
Related API operations
Operation | Description |
---|---|
ModifyAuditLogFilter | Modifies the types of operations on which the audit log feature is enabled in an ApsaraDB for MongoDB instance. |
DescribeAuditLogFilter | Queries the types of operations on which the audit log feature is enabled in an ApsaraDB for MongoDB instance. |