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!

How to Get Started with Splunk Data Management Pipeline Builders (Edge Processor & ...

If you want to gain full control over your growing data volumes, check out Splunk’s Data Management pipeline ...

Out of the Box to Up And Running - Streamlined Observability for Your Cloud ...

  Tech Talk Streamlined Observability for Your Cloud Environment Register    Out of the Box to Up And Running ...

Splunk Smartness with Brandon Sternfield | Episode 3

Hello and welcome to another episode of "Splunk Smartness," the interview series where we explore the power of ...