tencent cloud

TencentDB for MongoDB

문서TencentDB for MongoDBOperation GuideDatabase AuditModifying the Retention Period of Audit Logs

Modifying the Retention Period of Audit Logs

Download
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-04-29 16:15:28

Scenarios

TencentDB for MongoDB audit service supports long-term storage of audit logs according to business needs, meeting the compliance regulation requirements of databases. Based on the security compliance requirements of business audit rules, you can adjust the retention period of audit logs at any time.

Prerequisites

The Creating a TencentDB for MongoDB instance operation has been completed, and Database Audit has been enabled for the instance.
The status of the replica set instance or sharded instance of TencentDB for MongoDB is Running.

Directions

2. In the left sidebar, select MongoDB > Database Audit.
3. At the top of the Database Audit page on the right, select Region.
4. In the upper right corner of the audit instance list, select an instance with Audit Status being Enabled.
5. Click the instance ID with auditing enabled to redirect to the Audit Log page to view the corresponding log.
6. In the upper right corner of the Audit Log page, click Configure.
7. In the pop-up dialog box, modify the log retention period, and click Submit.
Note:
To meet the security compliance requirements for the retention period of audit logs, it is recommended that you select a retention period of 180 days or more.


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백