Skip to content

All docs

Logs

Log retention & storage classes

Logs move between two storage classes as they age: hot storage for fast, recent queries, and archive storage for long-term retention at lower cost.

Storage classes

Hot storage keeps the last 14 days queryable in under a second. Archive storage holds up to 2 years of history and is queried on demand.

Setting retention

logs:
  hotDays: 14
  archiveDays: 730

logs:
  hotDays: 14
  archiveDays: 730

logs:
  hotDays: 14
  archiveDays: 730

Reducing hotDays or archiveDays deletes the corresponding data immediately and cannot be undone.

Create a free website with Framer, the website builder loved by startups, designers and agencies.