- Documentation
Document Database for MongoDB
User guide
Log management
Querrying error logs
Log management
Querrying error logs
Querrying error logs
Document Database for MongoDB supports logs management, allowing you to view and export error log details for different nodes under different components via the console, which helps quickly identify problems.
Procedure
- In the upper-left corner of the top menu bar, select the project and region for instance.
- Select either Replica set instances or Sharding instances in the left navigation bar depending on the instance type.
- On the target instance type list page, click the target instance name.
- On the instance details page, click the Logs tab.
- Click Error log sub-tab, and you can quickly filter error logs that meet the criteria based on business needs through keywords, components, and query time.
tip
- You can view the details of error logs within the last 7 days. By default, details of error logs within the last 1 day are displayed.
- You can export the error log query results that meet the filtering criteria to a local device for management. For specific procedures, refer to Exporting logs.
Relevant APIs
Last updated: 2026.02.05 22:22:29