Knowledge Management

How to delete data older than 90 days except summary index

dhavamanis
Builder

We have multiple indexes to separate the access / role limit due to data privacy/security (like index1, index2, index3, index4...etc) with cluster setup. Also we want remove data older than 90 days from indexer / indexes. Can you please tell us the best configuration step by step to remove this older data irrespective of indexes with one setup.

Also provide is there any option to exclude the specific index as part of this process. How to keep the summary indexes without truncate for historical data and provide configuration steps.

Many Thanks in Advance!.

1 Solution

somesoni2
Revered Legend

All indexes have property 'frozenTimePeriodInSecs' which defines the duration in seconds for which data will be retained in Splunk. In Indexes.conf file, set the attribute to appropriate value for each index, e.g. 7776000 for indexes you want the data to be available for 90 days, for summary indexes your can set 188697600, 6 years.

See this as well

http://answers.splunk.com/answers/143716/retention-index-or-log-90-days

View solution in original post

somesoni2
Revered Legend

All indexes have property 'frozenTimePeriodInSecs' which defines the duration in seconds for which data will be retained in Splunk. In Indexes.conf file, set the attribute to appropriate value for each index, e.g. 7776000 for indexes you want the data to be available for 90 days, for summary indexes your can set 188697600, 6 years.

See this as well

http://answers.splunk.com/answers/143716/retention-index-or-log-90-days

dhavamanis
Builder

Thank you!

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...