How To Filter The Activity Log Events In A Mirroring Connection

You are here:
Back

With the WP Security Audit Log plugin you can mirror the WordPress activity log to third party services such as Slack, Syslog and even to an external MySQL database. When you setup a mirroring connection you can also configure filters so you do not mirror all the activity log events. This article explains how you can setup these activity log filters.

The WordPress Activity Log Filtering Settings

All the WordPress activity log filtering settings for mirroring connections are available during the last step of the wizard, as shown in the below screenshot.

Activity log filters for mirroring connections

To send all the events to the activity log mirror simply select the Send all events checkbox. If you want to setup filtering, you have the following two options:

Mirror Only Specific Events from the Activity Log

Filtering the activity logs events

If you have a list of activity log events you’d like to save in the mirror:

  1. Check the option Only send events with these codes.
  2. Specify the IDs of the activity log events you’d like the plugin to mirror when they happen.

Refer to the complete list of activity log events and their IDs for more information.

Mirror All Activity Log Events But Specific Ones

Specifying the IDs of the events you do not want to mirror

If on the other hand you’d like the plugin to mirror all the activity log events but not a few specific ones when they happen:

  1. Check the option Send all events BUT those with these codes.
  2. Specify the IDs of the activity log events you do not want to be mirrored.

Refer to the complete list of activity log events and their IDs for more information.

Configuring the Mirroring of the Activity Log

If you need information on how to setup mirroring refer to the following guides:

For more information on other integrations and activity log management refer to the getting started with WordPress activity log integrations.