Activity Log and WordPress Multisite
Activity Log is fully compatible with WordPress Multisite networks. Activate it network-wide to monitor every site from one place, or activate it on individual sites for more granular control.
This guide covers how Activity Log works on a WordPress Multisite network, including activation, event recording, and site-specific filtering.
Activating on a Multisite Network
Activity Log can be activated in two ways on a Multisite installation:
Network Activation
Go to Network Admin › Plugins and activate Activity Log network-wide. This automatically activates the plugin on every site in the network and creates a log database table for each site. New sites added to the network get the plugin activated automatically. When network-activated, the plugin’s admin menu and Settings move to Network Admin instead of appearing under each individual site.
Per-Site Activation
Activate the plugin only on specific sites from each site’s own Plugins screen. This gives more granular control over which sites are monitored, and keeps the plugin’s menu and Settings under that site’s own admin rather than Network Admin.
When a plugin is activated network-wide, the event log records a network_wide: true flag in that plugin activation event’s metadata, so you can distinguish network-wide plugin changes from per-site ones.
License activation is handled at the network level when Activity Log is network-activated, tied to the network’s main URL rather than each individual site, and the license’s site count covers every site on the network
How Events Are Recorded
Activate the plugin only on specific sites from each site’s own Plugins screen. This gives more granular control over which sites are monitored, and keeps the plugin’s menu and Settings under that site’s own admin rather than Network Admin.
When a plugin is activated network-wide, the event log records a network_wide: true flag in that plugin activation event’s metadata, so you can distinguish network-wide plugin changes from per-site ones.
License activation is handled at the network level when Activity Log is network-activated, tied to the network’s main URL rather than each individual site, and the license’s site count covers every site on the network
Filtering by Site in the Admin
When viewing Activity Log from a specific site’s admin area (Activity Log › Activity Log), the log shows only events for that site, from that site’s own log table.
Activity Log does not merge every site’s events into a single combined view, even when the plugin is network-activated and its menu appears under Network Admin. To review a specific site’s events, visit that site’s own Activity Log page directly (or switch to that site from Network Admin first). To review every site’s activity, check each site individually.
Filtering by Site in WP-CLI
On a Multisite network, combine WP-CLI’s own –url flag with the plugin’s –site_id flag to export a specific site’s data:
wp duplicator-activity-log export --url=https://site2.example.com --site_id=2
–url
Tells WP-CLI which site’s context to run in, since each site’s events live in that site’s own table. Replace the URL and site ID with the target site’s own values. To find a site’s blog ID, run:
wp site list --fields=blog_id,url
–site_id
You can combine --site_id with any other export flag. For example, to export all High severity events from site 3:
wp duplicator-activity-log export --url=https://site3.example.com --site_id=3 --severity=high --format=csv > site3-high.csv
Per-Site vs Network-Wide Settings
Activity Log settings (General, Events, Notifications) are configured per-site. Each site in the network can have its own:
- Log retention period
- Enabled or disabled event categories
- Notification recipients and triggers
- Logging method (sync vs async)
There is no global settings override at the network level. Each site admin manages their own Activity Log configuration, and since retention is configured per-site, the daily cleanup job also runs and prunes old entries per site rather than network-wide. License activation is the one exception, handled at the network level when the plugin is network-activated, as covered above.
That’s it! With activation, event recording, and settings scoped correctly, Activity Log tracks changes cleanly across every site on the network.
For a full list of what gets tracked, see What Does the Activity Log Track?. To adjust retention, notifications, or logging method on a given site, see Configuring Activity Log Settings.