Deployment Architecture

How to keep only 3 months of logs in Splunk

felipesewaybric
Contributor

I would be creating a backup routine, which keep only 3 months of logs in Splunk. But how can I do to limit the amount of logging for no more than three months old?

Tags (2)
0 Karma

somesoni2
Revered Legend

Here is what you need to do. (replace 30 day with 90 day)

http://answers.splunk.com/answers/57172/how-do-i-set-retention-for-an-index-to-30-days

Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...