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
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...