Deployment Architecture

Re-indexing cold data

loatswil
Path Finder

We have some year old cold data that has been restored from tape. We would like to re-index and search this data.

What is the best way to do this?

I have looked at the "oneshot" method but it appears to be designed for a single log file. This is an entire "colddb" directory from an indexer.

Thanks!

Tags (2)
0 Karma
1 Solution

yannK
Splunk Employee
Splunk Employee

You do not need to reindex buckets, just make them searchable.
Use the same procedure than restoring frozen buckets : copy them to your thawedPath location.
see http://docs.splunk.com/Documentation/Splunk/6.0.3/Indexer/Restorearchiveddata

Remark : you could copy them back to the coldPath, but the retention rules (size and time) will immediately apply, and the buckets can be deleted. So the thawedPath is the best solution.

View solution in original post

yannK
Splunk Employee
Splunk Employee

You do not need to reindex buckets, just make them searchable.
Use the same procedure than restoring frozen buckets : copy them to your thawedPath location.
see http://docs.splunk.com/Documentation/Splunk/6.0.3/Indexer/Restorearchiveddata

Remark : you could copy them back to the coldPath, but the retention rules (size and time) will immediately apply, and the buckets can be deleted. So the thawedPath is the best solution.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...