Skip to main content

Percona Audit Plugin _best_ May 2026

(enable in logs):

SET GLOBAL audit_log_rotate = ON; :

status: 1 = failure. "rule": "class": "table_access", "table": "payments", "command": ["DROP", "TRUNCATE", "DELETE", "UPDATE"], "log": true percona audit plugin

"class": "table_access", "command": ["DROP", "ALTER", "TRUNCATE"], "log": true (enable in logs): SET GLOBAL audit_log_rotate = ON;

SET GLOBAL audit_log_filter = ' ... json ... '; "audit_record": "timestamp": "2025-02-18T10:23:45.123 UTC", "id": 202502, "class": "general", "event": "status", "connection_id": 54321, "user": "webapp@10.0.1.55", "host": "10.0.1.55", "database": "ecommerce", "command": "Query", "sqltext": "UPDATE orders SET status='shipped' WHERE order_id=12345", "status": 0, "rows_examined": 1, "rows_sent": 0 "log": true "class": "table_access"

Read this next