检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
The files (backup files, slow query log files, audit log files, and error log files) stored on OBS are invisible to you. They are only visible in the DDS backend management system.
If you need to collect statistics on all operations, see Audit Log Policy Management. Procedure Log in to the management console. Click in the upper left corner and select a region and a project.
logs √ x Deleting audit logs √ x Downloading a backup √ x Creating a manual backup √ x Querying the backup list √ √ Restoring data to a new DB instance √ x Restoring data to an existing instance √ x Deleting a backup √ x Creating a parameter template √ x Viewing parameter templates
Migrating data using the export and import tools Migrating data from other cloud MongoDB to DDS Migrating data from on-premises MongoDB to DDS Migrating data from ECS-hosted MongoDB to DDS Migrating data from DDS to MongoDB Logs Error logs, slow query logs, and audit logs are supported
Audit Logs An audit log records operations performed on your databases and collections. The generated log files are stored in OBS. Auditing logs can enhance your database security and help you analyze the cause of failed operations.
Configuring the Audit Policy The audit function can be used to record all database operations performed by users. Auditing logs can enhance your database security and help you analyze the cause of failed operations to improve system O&M. For details, see Audit Logs.
Requires procurement of an audit system. Database backup Automated backup is supported. You can configure backup policies based on service requirements. You can create manual or physical backups at any time. DDS helps increase backup efficiency by 3 times.
The options are as follows: audit_log Range audit_log Default Value N/A Example request Disabling audit log reporting to LTS for a DB instance DELETE https://{endpoint}/v3/619d3e78f61b4be68bc5aa0b59edcf7b/instances/logs/lts-configs { "lts_configs" : [ { "instance_id" : "
You can deploy DB instances in multiple AZs and use audit logs, isolated networks, security groups, and data encryption to ensure data security.
You can deploy DB instances in multiple AZs and use audit logs, isolated networks, security groups, and data encryption to ensure data security.
January 2025 Added new fields to audit logs. Added a limit on the number of pipeline stages. December 2024 Fixed the SERVER-14322 vulnerability. Added dynamic CPU monitoring. Updated the OpenSSL library.
}/auditlog-policy dds:instance:list √ √ Querying the audit log list GET /v3/{project_id}/instances/{instance_id}/auditlog dds:instance:list √ √ Obtaining the link for downloading audit logs.
(Optional) Audit logs You will be billed for the storage space for database audit logs.
Invalid audit log ID. Check whether the audit log ID is valid. 400 DBS.239024 The auditlog does not exist. The audit log does not exist. Check whether the audit log exists. 400 DBS.239025 Invalid auditlog scope. Invalid audit scope.
Constraints N/A Range N/A Default Value N/A Example request Enabling audit log reporting to LTS for a DB instance POST https://{endpoint}/v3/619d3e78f61b4be68bc5aa0b59edcf7b/instances/logs/lts-configs { "lts_configs" : [ { "instance_id" : "520c58ba00a3497e97ce0b9604874dd6in02
(Optional) Audit logs You will be billed for the storage space for database audit logs.
Huawei Cloud Document Database Service (DDS) is compatible with MongoDB and provides functions such as security audit, multi-account management, and point-in-time backup and restoration. It supports cluster, replica set, and single-node deployment architectures.
OBS 2.0支持Logs DDS log management allows you to view database-level error logs, slow query logs, and audit logs, helping you analyze root causes of faults. All regions How Do I View Error Logs? How Do I View Slow Query Logs? How Do I View Audit Logs?
log policy - √ √ √ √ √ √ √ √ √ √ √ - Querying audit logs - √ √ √ √ √ √ √ √ √ √ √ - Downloading audit logs - √ √ √ √ √ √ √ √ √ √ √ - Parameters Changing a parameter template - √ √ √ √ √ √ √ √ √ √ √ - Creating a parameter template - √ √ √ √ √ √ √ √ √ √ √ - Deleting a parameter template
In addition, you can view monitoring metrics and audit logs to learn about DDS health status in real time. Database Commands Which Commands are Supported or Restricted by DDS?