With the WP Activity 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.
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
If you have a list of activity log events you’d like to save in the mirror:
- Check the option Only send events with these codes.
- 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
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:
- Check the option Send all events BUT those with these codes.
- 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:
- Mirroring the WordPress activity log to Slack
- Mirroring the WordPress activity log to Papertrail
- Mirroring the WordPress activity log to Syslog
- Mirroring the WordPress activity log to an external database
For more information on other integrations and activity log management refer to the getting started with WordPress activity log integrations.