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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...