Splunk upgrade with odd path


I am working on upgrading a deployment server which is typically an easy task. My issue is that this particular environment has a strange path instead of the usual /opt/splunk/etc. This environment has /opt/Splunk/splunkenterprise/etc/. I feel like if i run the upgrade as i normally do untarring the file to /opt, it could create some issues. does anyone have insight as to if this should be upgraded "business as usual" or if the command needs modification? I am worried that untarring in under /opt will cause issues with other possible dependencies to particular file paths. 

Labels (3)
Tags (1)
0 Karma


You can untar to a temp folder and move like below; (Make sure have a backup before upgrade)

cd /tmp
tar xzvf /path/to/splunk-install.tgz
mv splunk /opt/Splunk/splunkenterprise
If this reply helps you an upvote is appreciated.
0 Karma


Just create a symlink named /opt/splunk which points to your odd path:

ln -s /opt/Splunk/splunkenterprise /opt/splunk

Make sure it's owned by your Splunk OS user and then continue on with your upgrade.

An upvote would be appreciated and Accept Solution if it helps!
0 Karma
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!