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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...

A Four Part Event Series: AI + Observability: AI Agents, LLMs, Apps, & Infrastructure

AI + Observability: AI Agents, LLMs, Apps, & Infrastructure The rapid evolution of artificial intelligence ...