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!

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,  ...