There are a few status variables related to the MariaDB Audit Plugin, once it has been installed. These variables can be displayed using the SHOW STATUS statement like so:
SHOW STATUS LIKE 'server_audit%'; +----------------------------+------------------+ | Variable_name | Value | +----------------------------+------------------+ | Server_audit_active | ON | | Server_audit_current_log | server_audit.log | | Server_audit_last_error | | | Server_audit_writes_failed | 0 | +----------------------------+------------------+
Below is a list of all status variables related to the Audit Plugin. These cannot be set: These are not to be confused with system variables, which can be set. See Server Status Variables for a complete list of status variables that can be viewed with the SHOW STATUS statement. See also the Full list of MariaDB options, system and status variables.
Server_audit_active
boolean
Server_audit_current_log
string
Server_audit_last_error
string
Server_audit_writes_failed
FLUSH STATUS
. numeric
0
© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/mariadb-audit-plugin-status-variables/