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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...