Choose how long events are kept
Retention is set per organization, that is per customer of yours, and counted from when each event happened. Expired events are deleted by a daily job.
How retention works
- Each organization has a retention window in months; 0 keeps its events forever.
- A window can be extended, never shortened.
- Your plan caps the window. Prices are on the pricing page, and Organizations covers the rules.
- A new organization, including one created automatically at ingest, starts at 12 months, capped by the plan's limit.
- On a paid plan, stored events above the plan's included amount are billed, so a longer window costs more as events accumulate (Plans and billing).
- Extending a window also moves the expiry of events already stored.
- When a team moves to a plan with a shorter limit, events are kept for the shorter of the organization's window and the plan's limit, and organizations kept forever are unaffected.
Extend an organization's retention
- Open Audit Log → Organizations and select the organization.
- As an administrator, select Edit.
- Under Retention months pick a chip, 3 months to 84 months or Forever, or type a number. Chips the plan does not allow, or that would shorten the window, are disabled; the caption below shows the effect, "An event received today is deleted on …".
- Select Save.
Santati refuses a change with one of two messages: "Retention can only be extended, never shortened." and "Retention is limited to N months on this plan."
Stop organizations being created automatically
On Audit Log → Organizations administrators switch Create an organization automatically
the first time an event names it; it is saved as soon as it is switched. With it off, an
event naming an unknown organization is refused with unknown_organization
(Rejected events); add customers with New organization.
Place a legal hold
A hold suspends deletion until it is released. For one organization: open it, select Place legal hold…, enter a Reason (required), select Place hold. For a set of events chosen by trail, action, actor or time range: on Audit Log → Organizations select Legal holds, fill in "Place a hold on a set of events", check the preview, and place the hold.
Release a hold
Select Release hold on the organization, or Release in the hold history, and type the
organization id to confirm — release for a hold on a set of events that names no
organization. Events become deletable again under their retention unless another
active hold covers them. Holds are never deleted: the history keeps who placed and who
released each one.