Retention
How long a project keeps its events, and what happens when you change it.
Each project keeps its events for a fixed time: 7, 14, 30, 60, 90 or 180 days, or 1 year. When an event is older than that, it is deleted on its own.
- Lengthening it applies right away.
- Shortening it asks first: events older than the new limit are deleted for good, within a few hours (the storage removes them as it merges its parts). Newer ones stay.
An event whose ts is older than the project's retention, or more than a day ahead, is stored at
its arrival time, with the time it was sent in the attribute _lyrelog_ts_clamped (the case of a
device whose clock is wrong). Send current times.
A new project keeps events for 30 days, or for the plan's longest if that's shorter (7 days on Free).
Change it in Settings. Only an owner can. Details in the same page shows the current value.
Retention and your plan
Each plan keeps events for up to a number of days:
| Plan | Longest retention |
|---|---|
| Free | 7 days |
| Pro | 30 days |
| Business | 1 year |
| Unlimited | As the project says, up to 10 years |
Settings only offer what your plan keeps, and never more than 1 year. Unlimited is given by Lyrelog, not sold: to keep a project's events for longer than a year on it, write to hello@lyrelog.com and Lyrelog sets it for you. If the plan changes to one that keeps less (a plan given until a date that ended, for example), projects kept longer are shortened to the plan's days within a few minutes, and older events are deleted with them. Moving to a longer plan doesn't bring deleted events back; it lets you set a longer retention from then on.
The plan also counts events per organization per month: see Plans and usage.