Audit Log Upload Policy Description
Scenario
The RDS for MySQL console uploads audit logs and generates a log file every half an hour or when the logs reach 100 MB. However, there are cases where audit logs are less than 100 MB but still get loaded and generate a log file every 2 minutes.
Possible Causes
Audit log rotation policy: Logs are uploaded every half an hour or when the accumulated size reaches 100 MB.
- The rotation interval for audit logs is half an hour. The time under Updated on the console is when the last SQL statement is written to the audit log file. Based on the update time, you can easily analyze downloaded logs.
- In certain special cases, such as when the standby instance is being rebuilt or a primary/standby switchover is being performed, audit logs are forcibly rotated. As a result, a new audit log file less than 100 MB is generated within half an hour. This scenario is normal.
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot