Getting Data In

Reindex data after extending retention

ChristopherHolt
Loves-to-Learn Lots

Not sure the best way to go about this. We had an index that originally had a 30 day retention that they wanted extended to 1 year after it had been running for awhile. It was also originally setup to to collect new data going forward but they now also want all the historical data pulled into splunk as this was replacing a different tool. How do I restore the already retentioned data and collect the old data that was originally outside of the window of what we wanted pulled in? I've already adjusted the retention period and removed the ignoreolder=7d from the config. Am I just better off rebuilding the whole thing from scratch?

 

[monitor://<Path>]
index=<Appname>
sourcetype=chr
crcSalt = <SOURCE>

[<Appname>]
homePath = volume:hot/$_index_name
coldPath = volume:cold/$_index_name
summaryHomePath = volume:summaries/$_index_name
thawedPath = /opt/splunk/data/thawed/$_index_name
enableTsidxReduction = false
maxDataSize = auto_high_volume
frozenTimePeriodInSecs = 31536000

Labels (1)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

If those hosts didn’t contains any other data then just stop UF then remove …/var/lib/splunk/fishbucket (check spelling on your node) directory. Start UF service and it start to indexing everything from scratch. Then do this same for other nodes.

If those nodes contains also some other events what you cannot reindexing the you must remove those file by file and start reindexing only for those files. 
Here is one old post about it https://community.splunk.com/t5/Deployment-Architecture/Use-btprobe-reset-to-re-index-multiple-files...

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...