Getting Data In

New and old indexers, how can I ingest old data on the new indexer?

splunked38
Communicator

Hi,

We've set up a new index cluster and is currently cloning the data between the existing and new indexers.
https://docs.splunk.com/Documentation/Forwarder/7.2.6/Forwarder/Configureforwardingwithoutputs.conf#...

We:
- can't 'reset' the forwarder as this will affect the existing indexers
- can't copy the index across to the new indexers (different versions, etc).
- still have the original log files (one shot is an option but we're open to better suggestions)

Is there a way to ingest old data into the new cluster?

Thanks in advance

0 Karma
1 Solution

aromanauskas
Path Finder

Your options are plentiful of course. But you need to determine some other factors first.

If you can keep the old indexer cluster around till the data would just expire anyways then unless you have a need to move the data it may be easier to just point the SH/C to both clusters.

If you have the RAW data, just put it all in a new directory and set the UF to only forward that data to the new cluster. You just have to be sure to setup the outputs correctly.

If you don't have the RAW data, then as long as you have 4.2+ on the old indexer you can treat it as if it was a frozen backup. Just copy the db/{bucket}/rawdata/journal.gz to $SPLUNK_HOME/var/lib/splunk/defaultdb/thaweddb/{bucket}/rawdata/journal.gz

Make sure the bucket_id is unique and then run the rebuild command as noted in the docs.

https://docs.splunk.com/Documentation/Splunk/7.2.6/Indexer/Restorearchiveddata

View solution in original post

0 Karma

aromanauskas
Path Finder

Your options are plentiful of course. But you need to determine some other factors first.

If you can keep the old indexer cluster around till the data would just expire anyways then unless you have a need to move the data it may be easier to just point the SH/C to both clusters.

If you have the RAW data, just put it all in a new directory and set the UF to only forward that data to the new cluster. You just have to be sure to setup the outputs correctly.

If you don't have the RAW data, then as long as you have 4.2+ on the old indexer you can treat it as if it was a frozen backup. Just copy the db/{bucket}/rawdata/journal.gz to $SPLUNK_HOME/var/lib/splunk/defaultdb/thaweddb/{bucket}/rawdata/journal.gz

Make sure the bucket_id is unique and then run the rebuild command as noted in the docs.

https://docs.splunk.com/Documentation/Splunk/7.2.6/Indexer/Restorearchiveddata

0 Karma

splunked38
Communicator

Sorry for the delay, thanks for the answer.

I haven't had a chance to try this out but I believe we'll be going down restoring from the raw data. The putting the data in a new directory may be tricky as we use the source for some of our queries but we might be able to do that through some source rewriting/transforms.conf.

0 Karma
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!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...