<?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: Where is splunk installed on Linux? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Where-is-splunk-installed-on-Linux/m-p/123136#M4656</link>
    <description>&lt;P&gt;This should identify locations of Splunk Enterprise or Splunk Universal Forwarders. I've only tested on Linux.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# using locate command (very fast if available)
locate --regex "splunk(forwarder)?/var/log/splunk/splunkd.log$" | awk -F "/var" '{print $1}'

# using find command
find / -type f -name "splunkd.log" 2&amp;gt;/dev/null | awk -F "/var" '{print $1}'
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 08 Jan 2020 19:38:36 GMT</pubDate>
    <dc:creator>bandit</dc:creator>
    <dc:date>2020-01-08T19:38:36Z</dc:date>
    <item>
      <title>Where is splunk installed on Linux?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Where-is-splunk-installed-on-Linux/m-p/123130#M4650</link>
      <description>&lt;P&gt;I am trying to create a package for my app. I am using a linux server where splunk is installed. as i got the information from this portal, i open the directory /opt/splunk/etc/apps/framework and execute the command ./splunkdj package App_name. when i execute the command, it asks me Where is Splunk installed (version 5.0 or later is required)? []: &lt;/P&gt;

&lt;P&gt;I am confused which path i should give here. I tried using the path $splunk_home$/bin , but no luck. Please suggest&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 22:20:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Where-is-splunk-installed-on-Linux/m-p/123130#M4650</guid>
      <dc:creator>vishal_bandavad</dc:creator>
      <dc:date>2014-11-17T22:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Where is splunk installed on Linux?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Where-is-splunk-installed-on-Linux/m-p/123131#M4651</link>
      <description>&lt;P&gt;Since you said you open &lt;CODE&gt;/opt/splunk/etc/apps/framework&lt;/CODE&gt;, I assume the path you're looking for is just &lt;CODE&gt;/opt/splunk&lt;/CODE&gt;. Normally $SPLUNK_HOME is set to the root splunk directory.&lt;/P&gt;

&lt;P&gt;You could also try to do&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;echo $splunk_home
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;echo $SPLUNK_HOME
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to see if those bash variables are acutally set (they are case sensitive).&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 22:43:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Where-is-splunk-installed-on-Linux/m-p/123131#M4651</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2014-11-17T22:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Where is splunk installed on Linux?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Where-is-splunk-installed-on-Linux/m-p/123132#M4652</link>
      <description>&lt;P&gt;Thanks , i tried with /opt/splunk , but i am getting the message that "/opt/splunk  is directory , please give valid path" when i checked with  echo $SPLUNK_HOME , i am getting blank response.  &lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 22:49:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Where-is-splunk-installed-on-Linux/m-p/123132#M4652</guid>
      <dc:creator>vishal_bandavad</dc:creator>
      <dc:date>2014-11-17T22:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Where is splunk installed on Linux?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Where-is-splunk-installed-on-Linux/m-p/123133#M4653</link>
      <description>&lt;P&gt;Try &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/bin/splunk envvars
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To get $SPLUNK_HOME&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 22:54:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Where-is-splunk-installed-on-Linux/m-p/123133#M4653</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-11-17T22:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Where is splunk installed on Linux?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Where-is-splunk-installed-on-Linux/m-p/123134#M4654</link>
      <description>&lt;P&gt;Go to path &lt;CODE&gt;/opt/splunk/bin&lt;/CODE&gt; and then execute &lt;CODE&gt;./splunk package App_name&lt;/CODE&gt; OR simple just execute &lt;CODE&gt;/opt/splunk/bin/splunk package App_name&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 23:51:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Where-is-splunk-installed-on-Linux/m-p/123134#M4654</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-11-17T23:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Where is splunk installed on Linux?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Where-is-splunk-installed-on-Linux/m-p/123135#M4655</link>
      <description>&lt;P&gt;I resolved it this way (Debian OS):&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;ls -la&lt;/EM&gt;&lt;BR /&gt;
remove the &lt;EM&gt;.splunkhome&lt;/EM&gt; file&lt;BR /&gt;
run again &lt;EM&gt;./splunkdj setup&lt;/EM&gt;&lt;BR /&gt;
insert &lt;EM&gt;/opt/splunk&lt;/EM&gt; when asked where is installed Splunk.&lt;/P&gt;

&lt;P&gt;Skender K.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2015 16:06:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Where-is-splunk-installed-on-Linux/m-p/123135#M4655</guid>
      <dc:creator>skender27</dc:creator>
      <dc:date>2015-07-22T16:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Where is splunk installed on Linux?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Where-is-splunk-installed-on-Linux/m-p/123136#M4656</link>
      <description>&lt;P&gt;This should identify locations of Splunk Enterprise or Splunk Universal Forwarders. I've only tested on Linux.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# using locate command (very fast if available)
locate --regex "splunk(forwarder)?/var/log/splunk/splunkd.log$" | awk -F "/var" '{print $1}'

# using find command
find / -type f -name "splunkd.log" 2&amp;gt;/dev/null | awk -F "/var" '{print $1}'
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Jan 2020 19:38:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Where-is-splunk-installed-on-Linux/m-p/123136#M4656</guid>
      <dc:creator>bandit</dc:creator>
      <dc:date>2020-01-08T19:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Where is splunk installed on Linux?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Where-is-splunk-installed-on-Linux/m-p/123137#M4657</link>
      <description>&lt;P&gt;You need to to the Home path of the Splunk it is located in /opt/Splunk and you need to execute all the scripts in the /opt/splunk/bin &lt;STRONG&gt;./splunk package name.&lt;/STRONG&gt;&lt;BR /&gt;
the home path is always referred to /opt/splunk or where ever the splunk is been installed.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 12:56:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Where-is-splunk-installed-on-Linux/m-p/123137#M4657</guid>
      <dc:creator>dkolekar_splunk</dc:creator>
      <dc:date>2020-01-31T12:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Where is splunk installed on Linux?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Where-is-splunk-installed-on-Linux/m-p/593271#M25521</link>
      <description>&lt;P&gt;not working&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 10:02:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Where-is-splunk-installed-on-Linux/m-p/593271#M25521</guid>
      <dc:creator>pandaaji</dc:creator>
      <dc:date>2022-04-11T10:02:30Z</dc:date>
    </item>
  </channel>
</rss>

