How To Filter The Activity Log Events In A Mirroring Connection

Search Knowledge Base by Keyword

You are here:

With the WP Activity Log plugin you can mirror the WordPress activity log to third party services such as Slack, AWS CloudWatch, Loggly, Syslog and even to a log file. If you do not want to mirror all the events from the activity log, you can configure the filters per mirroring connection. 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. You can also configure these filters by clicking the Edit button next to the mirroring connection in question, after it has already been configured.

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 activity log events

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 IDs.
  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 not some 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 not 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

For more information on how to setup mirroring refer to the following guides:

For more information on mirroring the WordPress activity log and all the documentation details refer to the Activity log mirroring technical documentation. For other integrations, storing the activity log in the external database and archiving refer to the getting started with WordPress activity log integrations.