Installation

move Splunk install from one directory to another

seanlon11
Path Finder

On my Unix system:

I have installed Splunk to: /opt/splunk/

However, now I'd like to move it to: /opt/splunk/server

Can I just do move the files from the original location to the 2nd location? Or will I have to do an entirely new install to the new location?

Thanks, Sean

Tags (1)
0 Karma
1 Solution

Chris_R_
Splunk Employee
Splunk Employee

Moving directories in this way will work since all files necessary for splunk to funciton are contained under the working directory. If your environment variables need to be manually set, make the edits to $SPLUNK_HOME And $SPLUNK_DB in /opt/splunk/server/etc/splunk-launch.conf

View solution in original post

Chris_R_
Splunk Employee
Splunk Employee

Moving directories in this way will work since all files necessary for splunk to funciton are contained under the working directory. If your environment variables need to be manually set, make the edits to $SPLUNK_HOME And $SPLUNK_DB in /opt/splunk/server/etc/splunk-launch.conf

dwaddle
SplunkTrust
SplunkTrust

If you are using the RPM-based installer be careful, as doing upgrades after having moved the files from where RPM thinks they are might be more difficult.

Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

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

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...