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!

Enhance Your Splunk App Development: New Tools & Support

UCC FrameworkAdd-on Builder has been around for quite some time. It helps build Splunk apps faster, but it ...

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...