Getting Data In

2 year retention policy

AaronMoorcroft
Communicator

Hi guy, how do I go about setting a limit on our data retention.

I need the data on the indexer to be deleted after 2 years, is there a way to do tjis via the web interface or is this somthing that must be done in the inputs.conf on the indexer itself.

Also am I correct in thinking that you have to define the time in seconds if going down the inputs.conf route ?

Cheers

Aaron

Tags (2)
0 Karma

MHibbin
Influencer

No, that's not really correct.

You should have a look at the following reference:

http://docs.splunk.com/Documentation/Splunk/5.0.3/Indexer/Setaretirementandarchivingpolicy

But at a highlevel you will need to use the frozenTimePeriodInSecs parameter for each Index stanza OR globally in your indexes.conf file.

http://docs.splunk.com/Documentation/Splunk/5.0.3/admin/Indexesconf

Hope this helps.

P.S. Plan this change correctly... you may lose your data incorrectly... would be a good idea to do a backup of data first!

0 Karma
Get Updates on the Splunk Community!

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...

IM Landing Page Filter - Now Available

We’ve added the capability for you to filter across the summary details on the main Infrastructure Monitoring ...

Dynamic Links from Alerts to IM Navigators - New in Observability Cloud

Splunk continues to improve the troubleshooting experience in Observability Cloud with this latest enhancement ...