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
SplunkTrust
SplunkTrust

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
SplunkTrust
SplunkTrust

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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...