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!

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...