Splunk Search

location of .conf file where path of splunk db variable is defined

himanshu_b_shek
New Member

hello

content of /opt/splunk/etc/splunk-launch.conf :

in my environment , i can see it is commented then how it is working now , right now it is working fine just i want to know .
i am bit confused here please help me out .

#   Version 6.6.2

# 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.
#
# SPLUNK_HOME=E:\Program Files\Splunk

# By default, Splunk stores its indexes under SPLUNK_HOME in the
# var\lib\splunk subdirectory.  This can be overridden
# here:
#
# SPLUNK_DB=C:\wrangler-2.0\build-home\kimono\var\lib\splunk
# Splunkd service name
SPLUNK_SERVER_NAME=Splunkd

# Splunkweb service name
SPLUNK_WEB_NAME=splunkweb
0 Karma

himanshu_b_shek
New Member

Hi Amit ,

in my environment , splunk home path is "SPLUNK_HOME=E:\Program Files\Splunk" is defined and instance is currently working . there is no issue BUT i can see in this .conf file this parameter is commented out .

this is the my doubt only if it is commented here then how it is working now ?
is any other .conf file is responsible for this declaration ?

thanks in advance

0 Karma

amitm05
Builder

Because all of this is mostly only FYI and this is how it comes by deafult.
You could override those if you want to here.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...