Retention
The Retention page shows how long each index actually keeps its data, and lets you set a retention threshold that warns you when an index stops holding data for as long as you need.
To access this page, in the Logmanager web interface, go to Settings > System > Database status and select the Retention tab.

Retention page
Logmanager does not delete your log data after a fixed number of days. Instead, data accumulates until the storage fills up, and only then does Logmanager start removing the oldest data to keep the system running.
The process works as follows:
- Rollover: Each alias writes into an active write index. The Index State Management (ISM) policy assigned to the alias rolls this index over into a new one when it reaches 30 days of age or 40 GB in size. The previous index becomes read-only and is still searchable.
- Disk monitoring: Logmanager checks disk utilization every 15 minutes.
- Deletion under disk pressure: When disk usage crosses the watermark, Logmanager deletes the oldest rolled-over index in the database. Whole indexes are deleted at once, never individual log records.
- Repeat: Deletion continues until disk usage drops back below the watermark.
This has two consequences you need to keep in mind:
- How long your data lives depends on how much you ingest. The same appliance can hold a year of data for a quiet log source and three weeks for a busy one. If your log volume grows, your effective retention shrinks.
- Deletion is oldest-first across the whole database. The oldest index is deleted regardless of which alias it belongs to, so a high-volume source can push out data of a low-volume source.
Theunparsedindex has its own policy,hot_warm_unparsed, which behaves the same ashot_warm. Because it stores the raw originals of logs that no parser matched, it can grow quickly and may be deleted earlier than you expect.
Logmanager comes with three default policies. The Retention policy column of the retention grid shows which one each index uses.
| Policy | Used for | What it does |
|---|---|---|
hot_warm |
Log indexes | Starts a new index every 30 days or 40 GB. Older indexes are kept until the disk fills up. |
hot_warm_unparsed |
The unparsed index |
Same as hot_warm. |
audit_logs |
.vendor* audit indexes |
Starts a new index every 30 days or 40 GB. Deletes each index one year after it was created. |
All three policies give older indexes a lower priority, so after a restart, recent data becomes available first.
Retention policies are managed by Logmanager support. You cannot change them in the web interface, because an incorrectly configured policy can silently destroy data that you are legally required to keep.
If you need a different retention period for an index — for example, a hard “delete after 90 days” rule for one log source, or a longer retention for audit logs — contact Logmanager support with your request. Support configures a dedicated policy for the affected alias. The change applies to newly created indexes only; indexes that already exist keep the policy they were created with.
The grid lists every index that stores your log data, together with its retention policy and its current state.

Retention grid
| Column | Description |
|---|---|
| Index | The name of the index alias, for example lm-o365 or unparsed. Internal Logmanager indexes are not listed. |
| Retention policy | The name of the ISM policy applied to the index and a short description of what it does, for example rollover after 30 days or 40 GB. |
| Oldest record | The date of the oldest log record currently stored in the index, and its age in days. This is how far back you can search in that index today. N/A means the index holds no data yet. |
| Latest record | The date and time of the newest log record stored in the index, shown in your local time zone, and how long ago it was, in minutes, hours, or days. See Check that logs are still arriving. N/A means the index holds no data yet. |
| Size on disk | The physical disk space consumed by the index, and the number of log records it contains. |
| Threshold | The visualization of the age of the oldest record against the threshold you configured. See Threshold visualization. |
| Status | The evaluation of the index against its threshold: Healthy, Approaching, Alerting, or N/A. |
| Set threshold | The threshold value in days and the toggle that turns the threshold on or off. |
Use the search box under the Index header to filter the list, the Status dropdown to show only indexes in a given state, and the column headers to sort the grid. When at least one index is alerting, a red banner appears above the grid; select Filter alerting indexes to show only the affected indexes.
Use the Latest record column to spot problems with log ingestion. On an index that receives logs continuously, the latest record is only a few minutes old. If it falls hours or days behind, the log sources that write into the index have stopped sending logs, or their logs no longer reach the index. In the grid above, every index that stores data, apart from unparsed, received new logs within the last minute.
A stale unparsed index is not necessarily a problem. It only receives logs that no parser matched, so its latest record shows when such a log last arrived, not whether your log sources are still sending.
Sort the grid by Latest record to bring the indexes that have been silent the longest to the top or bottom of the list.
What the latest record time means depends on how the logs arrive. For logs sent by syslog or Beats agents, it is the time Logmanager received the log. For data Logmanager collects itself, such as Microsoft 365 or SQL databases, it is the time the event happened at the source. These sources can deliver events late, so their indexes can be a bit behind even when everything works.
A retention threshold is the number of days you expect an index to keep its data for. It does not control retention — it monitors it and alerts you when an index stops reaching back as far as you need. You set it per index, in days, and you can turn it off at any time.
Setting a threshold does not change retention in any way. It does not make Logmanager keep data longer, delete data sooner, or protect an index from deletion. The threshold is a monitoring marker: Logmanager compares it with the age of the oldest record in the index and warns you when reality falls short of your expectation.
For example, if your security policy requires 60 days of firewall logs, set the threshold of the firewall index to 60. Logmanager keeps deleting data the same way as before, but you now get a visible status and an email as soon as that index stops reaching 60 days back.
The Threshold column draws the age of your data on a timeline, so you can see at a glance whether an index still covers the period you need.
The timeline is read from left to right as a journey into the past:
- The left end is today, that is, age zero.
- The right end is the date shown above the bar, for example
2025-10-24. This is the date of the oldest log record across all indexes combined, not the oldest record of the index on that row. - The coloured bar represents the age of the oldest record in that index. A longer bar means the index reaches further back in time.
- The vertical marker, labelled with the threshold in days (for example
30d), is the position of your threshold on the same timeline.
The comparison is therefore simply the length of the bar against the position of the marker:
- If the bar extends past the marker, the index still holds data older than your threshold. The threshold is met.
- If the bar stops before the marker, the data that used to cover your threshold has already been deleted. The threshold is not met.
Because the right end is taken from the whole database, the horizontal axis is identical on every row of the grid. Each bar is drawn at the same scale, so you can compare indexes with each other directly: a bar that is visibly shorter than the one above it really does hold data that reaches less far into the past. The date on the right does not change from row to row, and it does not tell you anything about the index on that row — that value is in the Oldest record column.
| Status | Condition | What you see | What it means |
|---|---|---|---|
| Healthy | The oldest record is older than the threshold, with at least a 20% reserve. | A green bar that clearly overruns the marker. | The index keeps data as you expect. No action needed. |
| Approaching | The oldest record is older than the threshold, but by less than 20%. | An amber bar that ends just past the marker. | The threshold is still met, but the reserve is nearly used up. At the current ingestion rate the index is likely to drop below the threshold soon. Review capacity or ingestion volume now. |
| Alerting | The oldest record is younger than the threshold. | A red bar that stops before the marker. | Data has already been deleted earlier than you required. The index no longer covers the period you need, and you are losing data. |
| N/A | The index holds no data, or no threshold is set. | A grey bar. It is empty when the index holds no data, and shows the age of the oldest record when no threshold is set. | There is nothing to compare. |
The 20% reserve is what separates Healthy from Approaching. With a threshold of 50 days, the index is healthy while its oldest record is 60 days old or more (50 × 1.2), approaching between 50 and 60 days, and alerting below 50 days.
The three examples below all show the same index with the same data: the oldest record is 47 days old, so the coloured bar has exactly the same length in each one, and the axis ends at the same database-wide date of 2026-07-05. The only thing that changes is the threshold, that is, where the marker sits. This is the quickest way to see that the status describes the relationship between the two, not the amount of data on its own.

Healthy: 47 days of data against a 30-day threshold
Healthy. The threshold is 30 days, so the marker sits far to the left of the end of the bar. The index reaches 47 days back. The bar is green and the text below it reads Oldest data are from 47 days ago of 30 days threshold.

Approaching: 47 days of data against a 45-day threshold
Approaching. The threshold is now 45 days, so the marker moves to the right and the bar ends only two days past it. The requirement is still met, but the index has landed inside the 20% reserve (45 to 54 days). The bar turns amber to tell you that the next deletion is likely to push this index below the threshold.

Alerting: 47 days of data against a 60-day threshold
Alerting. The threshold is 60 days, which puts the marker well beyond the end of the bar. The oldest record is only 47 days old, 13 days short of the requirement. The bar turns red, because the data that should cover days 48 to 60 has already been deleted.
The comparison is exact, not approximate. An index whose oldest record is a single day short of the threshold is already Alerting. Set the threshold to the period you genuinely need to cover, and treat Approaching as the point at which to act.
An index that stores no records, such as lm-windows-firewall in the grid above, has no oldest record to measure. Its bar stays grey and its status is N/A.
- Go to Settings > System > Database status and select the Retention tab.
- Find the index in the grid.
- In the Set threshold column, enter the number of days in the input field.
- Make sure the toggle next to the field is switched on.
The value must be between 1 and 36500 days. The toggle stays disabled until the field holds a value, so always enter the number of days first.
The row saves on its own, and the bar, the marker, and the status update immediately.
To stop monitoring an index, switch the toggle off. The status changes to N/A and no alerts are sent for that index. Logmanager keeps the value you entered, so you can switch the toggle back on later without retyping it.
Setting a threshold requires write permission for system settings. If your account has read-only access, the Set threshold column is not shown at all and a notice appears at the top of the page.
Whenever Logmanager deletes data under disk pressure, it compares the age of the deleted data with the threshold of the affected index and sends an email to the administrator address configured in Logmanager.
| Alert | Trigger |
|---|---|
| Index is approaching the threshold | The deleted data was older than the threshold, but within the 20% reserve. |
| Index is below the threshold | The deleted data was younger than the threshold. |
To avoid flooding your mailbox during a period of heavy disk pressure, Logmanager sends at most one email per index per 24 hours. The single exception is escalation: if an index moves from Approaching to Alerting, the email is sent immediately, because the situation has become worse.
No email is sent when the deleted data was older than the threshold with the full reserve intact, or when the index has no threshold set.
Alerts are a notification, not a safeguard. Logmanager deletes the data regardless of whether an alert is sent, because preventing the disk from filling up always takes priority.
An alerting index means your storage can no longer hold as much data as you require. You have four options:
- Reduce the amount of data you ingest. Filter out noisy or low-value log sources, so that the remaining data lives longer.
- Increase the storage capacity of your Logmanager deployment.
- Forward the data you need to keep long-term to an external archive before it is deleted.
- Adjust the threshold to a value that your current deployment can realistically sustain, if your requirements allow it.
If you are unsure which option fits your deployment, contact Logmanager support.