Extended Retention
The Extended Retention feature in Stream Details allows you to retain specific segments of your stream data beyond the configured stream-level or global retention period.
When to use extended retention
This feature is helpful when you want to preserve logs, metrics, or traces related to specific incidents or investigations.
For example, logs from a known incident that occurred last month, you can configure extended retention for those specific time ranges.
How to apply extended retention

- From the Streams page, select the Stream Detail icon in the Actions column.
- The Stream Details panel opens.
- Select the Extended Retention tab.
- Next to Select Date, use the date selector to specify a time range in UTC. Click Apply.
- Click Update Settings to apply the retention policy.
Note
The data within the selected time range is retained for an additional number of days set by ZO_COMPACT_EXTENDED_DATA_RETENTION_DAYS (default 3650). The tab shows this number above the date selector.
Note
- Flexible Range Selection: You can add multiple time ranges. This enables retaining non-contiguous segments of data, such as a two-day period this week and another from the previous month.
- Retain Within Allowed Window: You can only apply extended retention to data that currently exists. You cannot select ranges older than the current retention limit because that data has already been deleted and cannot be restored.
Schema Settings
Manage stream schemas in OpenObserve to optimize query performance. Define field types, set index types, and enable user-defined schemas for efficiency.
Summary Streams
Learn how to use summary streams to speed up dashboards with examples, troubleshooting tips, and performance insights.