---
title: Search and filter the activity log
description: Find events by text, user, event type, severity, actor type, integration, source, ID or date.
url: "https://docs.prefixwp.com/docs/pastmark/activity-log/search-and-filter-the-activity-log/"
updated: "2026-11-10"
category: Activity log
---

# Search and filter the activity log

Your log can grow big. Use search and filters to find the events you need.

## Search

Type in the **Search logs...** box at the top of `User Activity → Activity Logs`. Pastmark searches the event message and the action.

If you type only a number, Pastmark also finds events with that event ID, object ID or user ID.

## Filter

1. Click **Filters**. The **Advanced Filters** box opens.
2. Choose one or more filters.
3. Click **Apply Filters**.

[![The Advanced Filters box with the filters User, Event, Severity, Actor Type, Integration, Source, ID and Date](http://localhost/wp-content/uploads/2026/11/pastmark-logs-filters-scaled.webp)](http://localhost/wp-content/uploads/2026/11/pastmark-logs-filters-scaled.webp)
The Advanced Filters box.

| Filter | What it does |
| --- | --- |
| **User** | Shows events by one or more users. |
| **Event** | Shows one kind of event, for example Authentication or Plugins. |
| **Severity** | Info, Warning, Error, Critical or Debug. |
| **Actor Type** | Human, System, Scheduled or AI Agent. |
| **Integration** | Core, WooCommerce, ACF, WPForms or Gravity Forms. Also User Switching when that plugin is active. |
| **Source** | Where the action came from: front end, admin, AJAX, REST API, XML-RPC, WP-CLI, cron or ability. You can choose more than one. |
| **ID** | Shows events with these event IDs. |
| **Date** | All, Today, Yesterday, Last 7 Days, Last Week, Last Month, Last 30 Days, or **Custom Range** with a start and end date. |

Your filters show at the top as **Applied Filters**. Click **Clear All** to remove them. Or open **Filters** and click **Reset**.

Pastmark remembers your filters in your browser for one year.

## Filter from a link

The **History** links in the lists of posts, pages, products and users open the log with a filter. You see the filter above the log, for example **Post: Meet the team at Acme**. Click **Clear All** to remove it. Read [History links and the admin bar menu](/docs/pastmark/activity-log/history-links-and-admin-bar/).

## Actor types

| Actor type | Meaning |
| --- | --- |
| **Human** | A logged-in person did it. |
| **System** | Nobody was logged in. For example, a failed login. |
| **Scheduled** | A scheduled task (WP-Cron) did it. |
| **AI Agent** | An AI tool did it, for example a tool that uses the WordPress API. Pastmark detects this from the tool's user agent. |

## Examples

- **Who logged in this week?** Event: Authentication, Date: Last 7 Days.
- **What did one editor change?** User: choose the editor.
- **Only serious events:** Severity: Warning, Error and Critical.

The dates in the filter use UTC time. They can differ a little from your local time.
