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!

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...