All Collections
Logs Management
Storage
If I reduce the retention on my logs stack temporarily what happens to the indexes?
If I reduce the retention on my logs stack temporarily what happens to the indexes?

Learn about the retention period, how to reduce it, and what happens if you do this

Eleanor Bennett avatar
Written by Eleanor Bennett
Updated over a week ago

Logit.io’s Retention Period

Each Stack has a retention period and this outlines how long logs and metrics are stored and searchable in your Logit.io Stack. You can set the retention to any value allowed in your Stack configuration. To gain a deeper look at your Stack retention period, select settings, and then under this choose usage statistics.

How to change the retention period

To change the retention period, navigate to the left side menu, and at the top of the list under overview, you will find ‘manage subscription’, here you can set the retention period for each Stack. If you change the retention period, once the new retention period has run, all previous indexes will be deleted.

Clearing The Data From Old Indexes

When new indices are generated, the retention job removes indices/data with a date preceding the specified retention period. For example: The indices get created as logstash-2022.11.08, filebeat-2023.10.23 etc The retention job deletes indices with a date older than whatever the retention is set to.

Whats next:

Did this answer your question?