Splunk Enterprise

How do i set the SPLUNK_HOME location within splunk?

ITUser1
Explorer
 
Tags (2)
1 Solution

bandit
Motivator

/opt/splunk/etc/splunk-launch.conf.default or the location of your install. Edit and uncomment the SPLUNK_HOME line below. Restart.

# Modify the following line to suit the location of your Splunk install.
# If unset, Splunk will use the parent of the directory this configuration
# file was found in
#
# SPLUNK_HOME=/home/build/build-home/6.2.1

View solution in original post

bandit
Motivator

/opt/splunk/etc/splunk-launch.conf.default or the location of your install. Edit and uncomment the SPLUNK_HOME line below. Restart.

# Modify the following line to suit the location of your Splunk install.
# If unset, Splunk will use the parent of the directory this configuration
# file was found in
#
# SPLUNK_HOME=/home/build/build-home/6.2.1

alanden_splunk
Splunk Employee
Splunk Employee
# Modify the following line to suit the location of your Splunk install.
# If unset, Splunk will use the parent of the directory containing the splunk
# CLI executable.

It is set by default according to the comments in the file. Only change it if the Splunk home directory is not the parent directory of the CLI executable.

0 Karma

ITUser1
Explorer

Awesome that worked. Thank you.

0 Karma

ktmighty14
New Member

I'm having the same problem in ubuntu 18 , could you explain in steb by step procedure

0 Karma

ppablo
Retired

Hi @ITUser1

Glad you found your answer through @rob_jordan 🙂 Don't forget to resolve this post by clicking on "Accept" directly below his answer and also upvoting it by clicking on the up arrow to the left of the answer. Thanks!

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...