Updated Configuration (markdown)
parent
4c4600fb91
commit
2c2c3c88b0
|
@ -25,6 +25,7 @@ Available AUDIT Plugin system variables:
|
|||
* **audit_client_capabilities**: If enabled, the plugin sends the value of client capabilities bit map as an unsigned 64-bit value. Default is OFF. Introduced in version 1.1.1.
|
||||
* **audit_sess_connect_attrs**: If enabled, the plugin sends session connection attributes. Default is ON. Currently supported only on MySQL 5.6 and 5.7. Introduced in version 1.1.1. **Note**: logging of connection attributes requires also a client of MySQL 5.6 and up to connect to the server. The connection attributes where added in 5.6 as part of the communication protocol. When enabled a json entry of the form will be added to each log entry: `"connect_attrs":{"_os":"Linux","_client_name":"libmysql","_pid":"11450","_client_version":"5.6.20-68.0","_platform":"x86_64","program_name":"mysql"}`. For further info on connection attributes in MySQL see: https://dev.mysql.com/doc/refman/5.6/en/performance-schema-connection-attribute-tables.html.
|
||||
* **audit_socket_creds**: If enabled, the plugin sends information about the client process, such as the PID, application name and user name who owns it. Default is ON. Introduced in version 1.1.2.
|
||||
* **audit_before_after**: Controls whether the plugin writes its log records before or after execution of the current SQL statement, or both. Possible values are `'before'`, `'after'`, or `'both'`. Default is `'after'`. Introduced in version 1.1.2.
|
||||
|
||||
**Notes:**
|
||||
* When configuring boolean variables (enable/disable) in MySQL 5.1 via a configuration file (my.cnf) use 0/1 as values. For example: `audit_json_file=1`. There seems to be an issue with MySQL 5.1 where boolean configurations with `ON/OFF` values in my.cnf don't work.
|
||||
|
|
Loading…
Reference in New Issue