It is possible to mirror a copy of the WordPress audit trail to your web server’s syslog. By mirroring the audit trail to syslog you can centralize the logging of your WordPress website with all the other logs, and ensure the audit trail is not tampered with and always available, even in the unfortunate case of a successful hack attack.
How to Mirror the WordPress Audit Log to Syslog
To mirror the WordPress audit trial generated by the WP Security Audit Log plugin to your server’s syslog follow the below procedure:
- Navigate to the DB & Integrations node in the plugin menu.
- Click on the Archiving tab.
- Click on the Mirroring tab, enable mirroring and select Syslog. Note that the plugin will write to the server’s syslog file and not to a separate dedicated file.
- Specify how often should the mirroring run and click Save Changes.
Use the Stop Mirroring toggle switch to temporarily stop the mirroring, in case your web server are experiencing performance issues or require maintenance. You can also use the Execute Mirroring Now button to trigger the mirroring process.
Refer to the Database & Integration tools getting started guide for more information on the add-on and its other features.