How to Mirror the WordPress Audit Trail to Syslog

You are here:
Back

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:

  1. Navigate to the DB & Integrations node in the plugin menu.
  2. Click on the Archiving tab.
  3. 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.
  4. Specify how often should the mirroring run and click Save Changes.

Mirroring the WordPress audit trail to the web server's syslog

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.