Retention & purge (data minimization)

Feature

Log retention and purge — Automatically purges old log entries to reduce database bloat and minimize stored data.

How it works

A scheduled cleanup removes events older than your retention window. This keeps performance stable on shared hosting.

How to access / enable

  1. WP Admin → AegisSpamGuard → Settings
  2. Privacy / retention section (if present)
  3. Set retention days and save.

Recommended setting

Recommended: 30–90 days depending on traffic.

Most tuning and audits happen in the first few weeks; keeping 1–3 months is usually enough without bloating the DB.

Why you need this

If you are investigating an incident, temporarily increase retention.

Additional information