Skip to content

Commit

Permalink
Merge pull request #418 from percona/ps-9529
Browse files Browse the repository at this point in the history
PS-9529 Plugin references in Audit log filter component docs - 8.4
  • Loading branch information
patrickbirch authored Nov 8, 2024
2 parents 09b0414 + 3f41b88 commit b8427c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 26 deletions.
21 changes: 0 additions & 21 deletions docs/audit-log-filter-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,27 +359,6 @@ mysql> SELECT audit_log_filter_set_user('user-name@localhost', 'filter-name');
| [`audit_log_filter.syslog_tag`](#audit_log_filter_syslog_tag) |
| [`audit_log_filter.syslog_priority`](#audit_log_filter_syslog_priority) |



### `audit-log-filter`

| Option | Description |
|--------------|---------------------------------|
| Command-line | --audit-log-filter[=value] |
| Dynamic | No |
| Scope | |
| Data type | Enumeration |
| Default | ON |

This option determines how, at startup, the server loads the `audit_log_filter` component. The component must be registered.

The valid values are the following:

* ON
* OFF
* FORCE
* FORCE_PLUS_PERMANENT

### `audit_log_filter.buffer_size`

| Option name | Description |
Expand Down
8 changes: 3 additions & 5 deletions docs/install-audit-log-filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

The `plugin_dir` system variable defines the component library location. If needed, at server startup, set the `plugin_dir` variable.

In the `share` directory, locate the `audit_log_filter_linux_install.sql `script.
In the `share` directory, locate the `audit_log_filter_linux_install.sql ` script.

At the time you run the script, you can select the database used to store the JSON filter tables.
At the time you run the script, you can select the database used to store the JSON filter tables.

* If the component is loaded, the installation script takes the database name from the `audit_log_filter.database` variable
* If the component is not loaded, but passes the `-D db_name` to the mysql client when the installation script runs, uses the `db_name`.
Expand All @@ -20,6 +20,4 @@ mysql> INSTALL COMPONENT 'file://component_audit_log_filter';

Find more information in the [INSTALL COMPONENT](install-component.md) document.

After the installation, you can use the `--audit_log_filter` option when restarting the server. To prevent the server from not running the plugin use `--audit_log_filter` with either the `FORCE` or the `FORCE_PLUS_PERMANENT` values.

To upgrade from `audit_log_filter` plugin in Percona Server 8.0 to `component_audit_log_filter` component in Percona Server {{vers}}, do the [manual upgrade](upgrade-components.md).
To upgrade from `audit_log_filter` plugin in Percona Server 8.4 to `component_audit_log_filter` component in Percona Server {{vers}}, do the [manual upgrade](upgrade-components.md).

0 comments on commit b8427c9

Please sign in to comment.