Docs

The event log

7 min readUpdated November 19, 2026

The event log is Shield’s record of what happens at your login: failed and successful sign-ins, lockouts, blocks, CAPTCHA failures, 2FA activity and more. Use it to see who is attacking, to check a user’s login problem and to confirm your settings are doing their job.

Where to find it

Go to Settings → Login Shield → Log tab. The page has four parts, from top to bottom:

  1. The “When attacks happen” heatmap
  2. The log usage bar and the filter bar
  3. The event table
  4. The log settings (retention and row cap)
A heatmap displays the frequency of failed login attempts by day and hour, showing scattered activity peaks. Below, a search interface and an event log table list a recent failed login attempt from the user “admin” via XML-RPC.

The “When attacks happen” heatmap

The heatmap at the top shows blocked or failed attempts over the last 30 days. Each column is an hour of the day, each row a weekday, in your site’s timezone. Darker squares mean more events. Hover over a square to see its count. The caption names your busiest day and hour.

It counts failed logins, lockouts, honeypot hits, IP blocks, geo blocks, CAPTCHA failures (including OOPSpam rejections) and role IP rule denials. Successful logins are not counted. The heatmap is saved for 10 minutes, so it can lag slightly behind the table.

Log usage bar

Below the heatmap, a bar shows how full the log is, for example “Log usage: 12,400 of 50,000 rows (25%)”, plus your retention period and “Auto-pruned daily”. The bar turns orange at 70% and red at 90%. At 90% a message tells you to raise the row limit or lower the retention period.

Searching and filtering

Use the filter bar to find specific events:

  • Search matches an IP address, a username, the Info text or the event name.
  • Event limits the list to one event type, such as Lockout or Geo block.
  • Date range shows events between two dates. By default it covers your oldest entry to today.

Click Search to apply. Click Clear to reset the filters.

Click any IP address in the table to search the log for that IP. Click the copy icon next to it to copy the address.

Auto-refresh

Click Auto to turn on auto-refresh. The page reloads every 30 seconds, and the button turns blue and shows “30s”. Click it again to turn it off. This is useful while you’re watching an attack or testing a setting.

The table

The table shows 25 events per page, newest first. Use Prev and Next to move through pages.

ColumnWhat it shows
EventA coloured label for what happened
TimeDate and time in your site’s timezone
IPThe visitor’s IP address, with search, copy and Block or Unlock buttons
CountryA flag and country code, when Shield knows the country for that IP, or --
UserThe username used, when there is one, with a Trap button on suspicious entries
InfoDetail about the event, such as the attempt count or the reason

When no filter is active, the total at the bottom is marked “(approx.)”, because it is an estimate that keeps the page fast on big logs.

An event log dashboard shows security activity, including failed logins, honeypot triggers, and lockouts. A filter bar sits above a table listing timestamps, IP addresses, usernames, and incident descriptions with interactive action buttons for each row.

Event types

Labels are colour-coded: red for attacks, orange for warnings, green for successes and blue for information.

  • Success (green): a successful login. The Info column names where it came from, for example wp-login.php. This type also appears for “2FA verified” and when an admin runs “Force-logged out all sessions”.
  • Fail (red): a wrong password or other failed login. Info usually shows the attempt count, such as “Attempt 2/5”. Other failures use this type too, for example an expired signup link or a failed passkey or magic link.
  • Lockout (red): an IP, or a username across all IPs, was locked out. Info says why. It also appears when a 2FA challenge is cancelled after five wrong codes.
  • Honeypot (red): someone tried a honeypot username.
  • Ip block (red): the IP is on the blocklist, or you blocked it from the log.
  • Ip restricted (red): a user was denied by a role IP rule.
  • Geo block (orange): the visitor’s country is blocked.
  • Captcha fail (orange): CAPTCHA or the JavaScript check failed.
  • OOPSpam rejections are logged as Captcha fail, with nahnls_oopspam in the Info column.
  • Magic request (blue) and Magic login (green): a magic link was requested or used.
  • Passkey login (green), Passkey register (blue), Passkey remove (orange) and Passkey register fail (orange): passkey activity.
  • Signup pending (blue), Signup verified (green) and Signup pruned (orange): signup email verification.
  • 2fa email sent (blue): a 2FA code was emailed.

Some events are logged but have no entry in the Event dropdown and show a grey label, for example 2fa_reset, 2fa_enabled, 2fa_method_changed, 2fa_backup_regen and magic_optout. To find them, type the event name into the Search box.

Acting on an entry

Two buttons let you respond straight from the log:

  • Block appears next to an IP address. It adds that single IP to your permanent blocklist (on the Lockout tab), removes any current lockout on it, and records an “IP block” entry. You’ll be asked to confirm “Permanently block [IP]?”. To undo it, remove the IP from the blocklist on the Lockout tab.
  • Unlock replaces Block while an IP is locked out. It lifts that lockout straight away.
  • + Trap appears next to a username on failed, lockout and honeypot entries. It adds the username to your honeypot list, so anyone who tries it is blocked in future. It also works for the username of a real account. That user must then sign in with their email address.

Be careful with Block: it takes effect immediately and doesn’t warn you if the IP is your own.

Exporting the log

Click Export CSV at the bottom of the table. The file has five columns: Time (UTC), Event, IP, Username and Detail. It holds up to the newest 50,000 events, and times are in UTC, not your site’s timezone. The export is not limited by the search or filters on the screen.

Two rectangular buttons labeled “Export CSV” in blue text with a blue border and “Clear log” in red text with a light red border.

Clearing the log

Click Clear log to delete every entry. You’ll be asked to confirm: “Clear all log entries? This cannot be undone.” Clearing also resets the heatmap and the Analytics tab, since they’re built from the log. It doesn’t remove active lockouts or your blocklist.

Log settings

At the bottom of the Log tab, set how long entries are kept:

SettingWhat it doesRangeDefault
Retention periodDeletes entries older than this many days1 to 365 days30
Max row capDeletes the oldest entries once the log goes over this size1,000 to 500,000 rows50,000

Both limits apply. A daily WordPress cron job deletes old entries, then trims the log down to the cap if it’s still too large. Click Save log settings to apply. The same two settings also appear on the Settings tab. They are the same values.

For privacy reasons, keep the retention period as short as is useful. See “Log retention and data removal” for guidance.

A settings menu titled “Log settings” shows two configuration options. “Retention period” is set to 30 days, and “Max row cap” is set to 50,000 rows, each with additional descriptive text for usage limits.

What the log stores

Each entry holds an IP address, a username, an event name, a short detail and a timestamp. It never stores passwords. But it does store whatever was typed in the username field, which means that if someone types a password into the username box by mistake, it will be logged there. See “What data Shield stores”.

Tips

  • Search for a user’s name to see their whole login history, including 2FA, passkey and magic-link events.
  • Filter by “Lockout” to see who is being locked out and how often.
  • Click an IP, then read its entries from oldest to newest to follow an attack from the first failed attempt to the lockout.
  • Watch for success events from unfamiliar IPs or countries, then use “Session security” if you need to end sessions.

Troubleshooting

  • The log is empty. No events have been recorded yet, or the log was cleared. Try a wrong-password login in a private window to test.
  • An IP shows “–” for country. Shield hasn’t looked up that IP’s country, or the lookup failed. See “Geo-blocking without a CDN”.
  • Times look wrong. The table uses the timezone in Settings → General. The CSV is in UTC.
  • The Trap button is still there after I clicked it. The entry is an email address of a real account. Email addresses of real accounts are never treated as honeypots.
  • The log keeps getting smaller. Retention or the row cap is deleting old entries. Raise them, or export the log first.
  • The log is huge and the page is slow. Lower the row cap or retention period.

Was this helpful?

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only