I’m working with a managed MySQL database on Oracle Cloud Infrastructure (OCI). The database has audit logging enabled through a plugin, but I’m running into some challenges with viewing and managing these logs.
Right now I can only access the audit logs using SQL commands like audit_log_read() with timestamp parameters. However, this approach has major limitations:
- The log storage is capped at 5GB and older entries get automatically deleted
- Each query only returns 20-40 log entries due to a 32kb read buffer
- I can’t modify these settings since I don’t have root access on the managed service
- Browsing logs this way is slow and tedious
I need a better solution to view audit logs from several months or even a year ago. The logs contain important information like SQL queries, timestamps, usernames, and host details.
What I’m looking for is either:
- A GUI tool that can connect to MySQL and display audit logs in a user-friendly format
- A way to export these logs to an external system for long-term storage and easier browsing
- Any open source or third-party solutions that work well with OCI
Has anyone dealt with similar audit log management challenges? What tools or approaches worked best for you?