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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...