All Apps and Add-ons

Move index database and save search to another index server

duongl2
Explorer

What is the best way to move from old version(version 4.0.9, build 74233
) index database and saved search to 4.2.1 index server?
thanks

Tags (1)

jbsplunk
Splunk Employee
Splunk Employee

You'll need to update your 4.0.9 indexer to 4.2.1 before this is possible. Between 4.1 and 4.2, the data format that raw data is written in was changed. The formats are not compatible with one another. Copying over the saved searches themselves aren't a problem, you'd just need to copy the savedsearches.conf files over from $SPLUNK_HOME/etc/apps//local/. Once you get the 4.0.9 system up to 4.2.1, you can simply copy the indexes.conf file that references the index from the location where it exists from the old system to the new one. To copy the index over, stop splunk on both systems and copy the $SPLUNK_HOME/var/lib/splunk// to the same location on the server you where you want the index to exist moving forward.

duongl2
Explorer

thank you, i will do that.

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...