Knowledge Management

Why is the previous data not accessible after changing the Splunk_DB location?

arsalanj
Path Finder

Hi there,

I used this article "https://docs.splunk.com/Documentation/Splunk/7.2.6/Indexer/Moveanindex" to move my indexes to a new location in a *nix machine.
I followed the instructions and Splunk services started successfully without any errors.
However, I can't see any of my data prior to the index move.
The new DB path is correct in $SPLUNK_HOME/etc/splunk-launch.conf file.
The $SPLUNK_DB variable exists.

Any ideas of what might went wrong?

Thanks.

0 Karma
1 Solution

arsalanj
Path Finder

It worked!

So, for anyone reading this post, I'm not sure that that it will work for you if you just copy the files over to the new destination, as mentioned in the documentation.

View solution in original post

0 Karma

arsalanj
Path Finder

It worked!

So, for anyone reading this post, I'm not sure that that it will work for you if you just copy the files over to the new destination, as mentioned in the documentation.

0 Karma

arsalanj
Path Finder

I deleted the content of the new index and copying files over using rsync this time.
I will update this case soon.

0 Karma
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...