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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...