Help Center/
GeminiDB/
GeminiDB Mongo API/
Working with GeminiDB Mongo API/
Log Management/
Enabling or Disabling Log Reporting
Updated on 2024-08-03 GMT+08:00
Enabling or Disabling Log Reporting
Scenarios
If you enable log reporting for your GeminiDB Mongo instance, new logs generated for the instance will be uploaded to Log Tank Service (LTS).
Precautions
- To use this function, you need to contact customer service to apply for required permissions.
- You will be billed for enabling this function.
- Ensure that there are available LTS log groups and log streams in the same region as your instance.
For more information about log groups and log streams, see Log Management.
Enabling Log Reporting to LTS in Batches
- Log in to the management console.
- In the service list, choose Databases > GeminiDB Mongo API.
- In the navigation pane, choose .
- Select one or more instances and click Enable Log Reporting.
- Select an LTS log group and log stream and click OK.
- After this function is enabled, audit logs record all requests sent to your DB instance and are stored in LTS.
- This function does not take effect immediately. There is a delay of about 10 minutes.
- You will be billed for enabling this function. For details, see LTS pricing details.
- After this function is enabled, all audit policies are reported by default.
- If Audit Policy is enabled, LTS reuses the audit policy set for your DB instance and you will also be billed for reporting audit logs to LTS. (Only after you disable Audit Policy, the fee will be terminated.)
- If you enable audit log reporting to LTS for an instance with the Audit Policy toggle switch turned on, you can turn off this switch only when the instance status becomes available.
Figure 1 Enabling log reporting
- To disable log reporting, select one or more instances and click Disable Log Reporting.
- In the displayed dialog box, click OK.
Figure 2 Disabling log reporting
Parent topic: Log Management
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot