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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...