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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...