How to delete log data from the activity log

Search Knowledge Base by Keyword

You are here:

In certain situations, you might need to delete log data such as when receiving compliance requests or removing noise. WP Activity Log includes a number of preset filters that allow you to find and delete data that matches specific criteria.

To delete specific data from the activity log;

  1. Click on WP Activity Log from the WordPress side menu
  2. Click on Settings from the WP Activity log piano menu
  3. Navigate to the Delete activity log data tab on the Settings page

Delete WP Activity Log data

Here you’ll find all filters laid out. These include:

  • Delete activity log data about a specific user – Enter a username to delete all activity log data associated with that user. WP Activity Log uses the usernames as configured in WordPress
  • Delete activity log data about a specific IP address – Enter an IP address to delete all activity log data associated with that IP. If your WordPress website sits behind a proxy or a firewall, you need to enable the firewall / reverse proxy support setting to filter internal IPs.
  • Delete activity log data with a specific severity level – Enter a severity level to delete all activity log data bearing that severity level. For more information on activity log severity levels, refer to the documentation.
  • Delete activity log data about a specific event type – Enter an event type to delete all activity log data for that type of event. For more information on activity log event types, refer to the documentation.
  • Delete activity log data about a specific object – Enter the object name to delete all activity log data for that type of object. For more information on activity log objects, refer to the documentation.
  • Delete activity log data about a specific event ID – Enter the event ID to delete all activity log data for that event ID. For more information on activity log event IDs, refer to the documentation.

Once you’ve entered the data and are happy with the selection, click the blue button on the right to delete the selected data. Click on Save Changes to finish the process.

Note: This function allows you to search for and delete activity data that resides on the local or external databases. Data that rests in a log management system or a backup cannot be deleted using this function. Deleted data cannot be retrieved unless you have a backup.