Bug #71840 Add status for audit log plugin
Submitted: 26 Feb 2014 12:05 Modified: 17 Jul 2015 15:14
Reporter: Daniël van Eeden (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Security: Audit Severity:S4 (Feature request)
Version:5.6.16 OS:Any
Assigned to: CPU Architecture:Any
Tags: auditlog

[26 Feb 2014 12:05] Daniël van Eeden
Description:
There are variables for the audit plugin, but no status items.

I would expect to have status for:
- number of events logged
- number of bytes logged

How to repeat:
SHOW GLOBAL STATUS LIKE '%audit%'. (with audit plugin loaded)
[27 Feb 2014 6:56] Daniël van Eeden
Add auditlog tag
[17 Jul 2015 15:14] Georgi Kodinov
A bunch of status variables were added in 5.6.20: http://dev.mysql.com/doc/refman/5.6/en/audit-log-status-variables.html
Looks like http://dev.mysql.com/doc/refman/5.6/en/audit-log-status-variables.html#statvar_Audit_log_e... and http://dev.mysql.com/doc/refman/5.6/en/audit-log-status-variables.html#statvar_Audit_log_t... are equivalents to what you've requested.