<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: $SPLUNK_HOME not set in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/SPLUNK-HOME-not-set/m-p/414038#M7179</link>
    <description>&lt;P&gt;As @MuS said at &lt;A href="https://answers.splunk.com/answers/188802/where-is-splunk-installed-on-linux.html"&gt;Where is splunk installed on Linux?&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/bin/splunk envvars
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Shows it. I see -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... SPLUNK_HOME=/opt/splunk ; export SPLUNK_HOME  ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 21 Jan 2019 22:41:35 GMT</pubDate>
    <dc:creator>ddrillic</dc:creator>
    <dc:date>2019-01-21T22:41:35Z</dc:date>
    <item>
      <title>$SPLUNK_HOME not set</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/SPLUNK-HOME-not-set/m-p/414033#M7174</link>
      <description>&lt;P&gt;I observed is that &lt;CODE&gt;$SPLUNK_HOME&lt;/CODE&gt; is not set on the &lt;CODE&gt;splunk-launch.conf&lt;/CODE&gt; file on the search heads . Is that a problem ??&lt;/P&gt;</description>
      <pubDate>Sat, 19 Jan 2019 01:34:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/SPLUNK-HOME-not-set/m-p/414033#M7174</guid>
      <dc:creator>nawazns5038</dc:creator>
      <dc:date>2019-01-19T01:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: $SPLUNK_HOME not set</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/SPLUNK-HOME-not-set/m-p/414034#M7175</link>
      <description>&lt;P&gt;If $SPLUNK_HOME is not set, the default value will be used.  Are you experiencing a problem?&lt;/P&gt;</description>
      <pubDate>Sat, 19 Jan 2019 13:39:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/SPLUNK-HOME-not-set/m-p/414034#M7175</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-01-19T13:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: $SPLUNK_HOME not set</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/SPLUNK-HOME-not-set/m-p/414035#M7176</link>
      <description>&lt;P&gt;Looking at a production search head of ours at &lt;CODE&gt;/opt/splunk/etc/splunk-launch.conf&lt;/CODE&gt; and it starts with -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#   Version 6.2.2

# 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.2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Which means that &lt;CODE&gt;$SPLUNK_HOME&lt;/CODE&gt; would be set by the software to &lt;CODE&gt;/opt/splunk&lt;/CODE&gt;. So, apparently we don't need to do a thing ; -)&lt;/P&gt;

&lt;P&gt;It's interesting that when running &lt;CODE&gt;$ set&lt;/CODE&gt; at the command line, no &lt;CODE&gt;SPLUNK&lt;/CODE&gt; variables show up.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jan 2019 01:49:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/SPLUNK-HOME-not-set/m-p/414035#M7176</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2019-01-20T01:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: $SPLUNK_HOME not set</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/SPLUNK-HOME-not-set/m-p/414036#M7177</link>
      <description>&lt;P&gt;no errors for now. Just curious as I don't see the output of &lt;CODE&gt;echo $SPLUNK_HOME&lt;/CODE&gt; as well. &lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 22:33:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/SPLUNK-HOME-not-set/m-p/414036#M7177</guid>
      <dc:creator>nawazns5038</dc:creator>
      <dc:date>2019-01-21T22:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: $SPLUNK_HOME not set</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/SPLUNK-HOME-not-set/m-p/414037#M7178</link>
      <description>&lt;P&gt;Yes, I can't see the output of &lt;CODE&gt;echo $SPLUNK_HOME&lt;/CODE&gt; as well.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 22:33:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/SPLUNK-HOME-not-set/m-p/414037#M7178</guid>
      <dc:creator>nawazns5038</dc:creator>
      <dc:date>2019-01-21T22:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: $SPLUNK_HOME not set</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/SPLUNK-HOME-not-set/m-p/414038#M7179</link>
      <description>&lt;P&gt;As @MuS said at &lt;A href="https://answers.splunk.com/answers/188802/where-is-splunk-installed-on-linux.html"&gt;Where is splunk installed on Linux?&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/bin/splunk envvars
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Shows it. I see -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... SPLUNK_HOME=/opt/splunk ; export SPLUNK_HOME  ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Jan 2019 22:41:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/SPLUNK-HOME-not-set/m-p/414038#M7179</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2019-01-21T22:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: $SPLUNK_HOME not set</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/SPLUNK-HOME-not-set/m-p/414039#M7180</link>
      <description>&lt;P&gt;You don't see it because it's not set in your environment.  It's in Splunk's environment, however.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 13:43:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/SPLUNK-HOME-not-set/m-p/414039#M7180</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-01-22T13:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: $SPLUNK_HOME not set</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/SPLUNK-HOME-not-set/m-p/414040#M7181</link>
      <description>&lt;P&gt;Ya, can be seen in through the command &lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;/opt/splunk/bin/splunk envvars&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 23 Jan 2019 20:20:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/SPLUNK-HOME-not-set/m-p/414040#M7181</guid>
      <dc:creator>nawazns5038</dc:creator>
      <dc:date>2019-01-23T20:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: $SPLUNK_HOME not set</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/SPLUNK-HOME-not-set/m-p/648399#M11108</link>
      <description>&lt;P&gt;If you want to be able to see it then you could always just type the following on the cmd line:&lt;BR /&gt;export SPLUNK_HOME=/opt/splunk&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 15:44:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/SPLUNK-HOME-not-set/m-p/648399#M11108</guid>
      <dc:creator>quinneyc</dc:creator>
      <dc:date>2023-06-27T15:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: $SPLUNK_HOME not set</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/SPLUNK-HOME-not-set/m-p/648427#M11109</link>
      <description>&lt;P&gt;One nice feature is shell completion. You could start it by&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;will be packaged with future (after 6.x) releases of Splunk; it will be found in &lt;EM&gt;SPLUNK_HOME&lt;/EM&gt;/bin/ directory; further, the &lt;EM&gt;SPLUNK_HOME&lt;/EM&gt;/bin/setSplunkEnv util will run this script, and confirm success with the message &amp;nbsp;&amp;nbsp;Tab-completion of "splunk &amp;lt;verb&amp;gt; &amp;lt;object&amp;gt;" is available.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;More on&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Deployment-Architecture/CLI-command-completion-Yes-and-here-s-how-For-bash-4-0-and/m-p/82552" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Deployment-Architecture/CLI-command-completion-Yes-and-here-s-how-For-bash-4-0-and/m-p/82552&lt;/A&gt;&amp;nbsp;and somewhere in docs, but I can’t found it now.&lt;/P&gt;&lt;P&gt;Sourcing above to shell also se $SPLUNK_HOME&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 18:48:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/SPLUNK-HOME-not-set/m-p/648427#M11109</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-06-27T18:48:18Z</dc:date>
    </item>
  </channel>
</rss>

