> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/server/reference/plugins/mariadb-audit-plugin.md).

# MariaDB Community Audit Plugin

{% columns %}
{% column %}
{% content-ref url="/pages/zWtjI12mqgBR2kTr63f9" %}
[Audit Plugin Overview](/docs/server/reference/plugins/mariadb-audit-plugin/mariadb-audit-plugin-overview.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
The MariaDB Audit Plugin records server activity, including connections, queries, and table access, to help meet organizational auditing and compliance regulations.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/x5M1cCpih9zVwTwJ6wlt" %}
[Audit Plugin Installation](/docs/server/reference/plugins/mariadb-audit-plugin/mariadb-audit-plugin-installation.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Follow this guide to install the Audit Plugin on your MariaDB server. Learn how to verify the plugin file's location, load it dynamically, or configure it to load automatically at startup.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/WBhuupEvXDzLT92ehdJ7" %}
[Audit Plugin Configuration](/docs/server/reference/plugins/mariadb-audit-plugin/mariadb-audit-plugin-configuration.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Configure the Audit Plugin to suit your monitoring requirements. Learn how to enable logging, select specific event types to record, and exclude specific users from the audit trail.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/W03ZGomvo7WgrGHvxZ8N" %}
[Audit Plugin Log Settings](/docs/server/reference/plugins/mariadb-audit-plugin/mariadb-audit-plugin-log-settings.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Control where and how the audit data is stored. This section explains how to direct output to a file or the system syslog, and how to configure logging parameters for different environments.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/Z9na7yv2G6LEfuwW3dW5" %}
[Audit Plugin Location and Rotation of Logs](/docs/server/reference/plugins/mariadb-audit-plugin/mariadb-audit-plugin-location-and-rotation-of-logs.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Manage your audit log files effectively. Learn how to define the log file path, set size limits, and configure rotation strategies to prevent log files from consuming all available disk space.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/uBlQKgC6yyldsSRbgqcv" %}
[Audit Plugin Log Format](/docs/server/reference/plugins/mariadb-audit-plugin/mariadb-audit-plugin-log-format.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Understand the structure of audit log entries. This guide breaks down the fields in the log records, including timestamps, server IDs, user details, and the specific operations performed.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/rUdKLCmUg6kzwIOebr5g" %}
[Audit Plugin Options and System Variables](/docs/server/reference/plugins/mariadb-audit-plugin/mariadb-audit-plugin-options-and-system-variables.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Browse the complete reference of system variables for the Audit Plugin. Use these settings to fine-tune logging behavior, control performance impact, and manage log file handling.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/LVocT1kTo3hZ9kvqX580" %}
[Audit Plugin Status Variables](/docs/server/reference/plugins/mariadb-audit-plugin/mariadb-audit-plugin-status-variables.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Monitor the performance and status of the Audit Plugin. View variables that track the number of logged events and current settings to ensure the auditing system is functioning correctly.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/9lsK918lO6EikHmDcoYN" %}
[Audit Plugin Versions](/docs/server/reference/plugins/mariadb-audit-plugin/mariadb-audit-plugin-versions.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Review the version history of the MariaDB Audit Plugin. Check compatibility with different MariaDB Server releases and identify which features or bug fixes are included in each version.
{% endcolumn %}
{% endcolumns %}
