<?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 Add-on for Unix and Linux coming up empty in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-coming-up-empty/m-p/123436#M9594</link>
    <description>&lt;P&gt;Well I think you've found your own problem.  Doesn't sound like the TA-nix is installed on your search head.  Not sure how that can be?  Here's the stanza from Splunk_TA_nix/default/props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [top]
 SHOULD_LINEMERGE=false
 LINE_BREAKER=(^$|[\r\n]+[\r\n]+)
 TRUNCATE=1000000
 DATETIME_CONFIG = CURRENT
 KV_MODE=multi
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 28 Sep 2020 16:57:04 GMT</pubDate>
    <dc:creator>araitz</dc:creator>
    <dc:date>2020-09-28T16:57:04Z</dc:date>
    <item>
      <title>Splunk Add-on for Unix and Linux coming up empty</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-coming-up-empty/m-p/123430#M9588</link>
      <description>&lt;P&gt;I'm in the process of setting up the Splunk App for Unix and Linux and the Splunk Add-on for Unix and Linux.&lt;/P&gt;

&lt;P&gt;I've installed and configured the App via Splunk Web (which runs on a Windows box) using default settings.  I've installed the Add-on on one of my Linux boxes and enabled all of the default inputs using default settings.  I've got data flowing into the "os" index.&lt;/P&gt;

&lt;P&gt;But...all of the App dashboards are coming up empty/"No results found."&lt;/P&gt;

&lt;P&gt;Here's a screenshot of the Hosts dashboard, showing the information for the one Linux host I've configured:&lt;BR /&gt;
&lt;IMG src="http://answers.splunk.com//storage/app4nix_hosts.jpg" alt="Hosts dashboard, all info &amp;quot;unknown&amp;quot;" /&gt;&lt;/P&gt;

&lt;P&gt;Using the "Process Status" as an example (since it's easy to inspect), I get:&lt;BR /&gt;&lt;CODE&gt;This search has completed and found 5 matching events. However, the transforming commands in the highlighted portion of the following search:&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;search index=os sourcetype=top host=my-host-name  | &lt;STRONG&gt;stats  max(pctCPU) as pctCPU max(pctMEM) as pctMEM last(cpuTIME) as cpuTIME by COMMAND, USER  | eval  CMD=COMMAND  | fields  CMD, USER, pctCPU, pctMEM, cpuTIME&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;generated no results.&lt;/P&gt;

&lt;P&gt;If I run the &lt;CODE&gt;search&lt;/CODE&gt; command portion (excluding the &lt;CODE&gt;stats&lt;/CODE&gt; command and everything after it), I get events that look like this (screenshot #2); I assume this format normal:&lt;BR /&gt;
&lt;IMG src="http://answers.splunk.com//storage/app4nix_st-top_raw.jpg" alt="Sample event from index=os sourcetype=top host=my-host-name" /&gt;&lt;/P&gt;

&lt;P&gt;Argh! So, what am I missing?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2014 21:49:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-coming-up-empty/m-p/123430#M9588</guid>
      <dc:creator>redc</dc:creator>
      <dc:date>2014-06-27T21:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Unix and Linux coming up empty</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-coming-up-empty/m-p/123431#M9589</link>
      <description>&lt;P&gt;Did you follow the prompt from the home page to set up the app?  Did you read through the docs on first time configuration?&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/UnixApp/latest/User/First-timeconfiguration"&gt;http://docs.splunk.com/Documentation/UnixApp/latest/User/First-timeconfiguration&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2014 21:55:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-coming-up-empty/m-p/123431#M9589</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2014-06-27T21:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Unix and Linux coming up empty</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-coming-up-empty/m-p/123432#M9590</link>
      <description>&lt;P&gt;I don't know what to tell you about the app in general, but I know what is wrong with this particular search!&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=os sourcetype=top host=my-host-name  
| multikv
| stats  max(pctCPU) as pctCPU max(pctMEM) as pctMEM last(cpuTIME) as cpuTIME by COMMAND, USER 
 | eval  CMD=COMMAND  
| fields  CMD, USER, pctCPU, pctMEM, cpuTIME
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My only other suggestion is that you check the versions of the app and the add-on - there may be older and newer versions, and you should be sure to use versions of the two that work together...&lt;/P&gt;

&lt;P&gt;There is a manual for the app at &lt;A href="http://docs.splunk.com/Documentation/UnixApp/latest/User/AbouttheSplunkAppforUnix"&gt;Splunk App for Linux and Unix&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2014 21:57:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-coming-up-empty/m-p/123432#M9590</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2014-06-27T21:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Unix and Linux coming up empty</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-coming-up-empty/m-p/123433#M9591</link>
      <description>&lt;P&gt;@lguinn - the nix TA runs KV_MODE=MULTI automatically, so running multikv explicitly is not required.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2014 22:01:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-coming-up-empty/m-p/123433#M9591</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2014-06-27T22:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Unix and Linux coming up empty</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-coming-up-empty/m-p/123434#M9592</link>
      <description>&lt;P&gt;The bottom screenshot is the data that should be filling the "Process Status" portion of the first screenshot, &lt;EM&gt;NOT&lt;/EM&gt; the cpu.sh, vmstat.sh, and df.sh portions in the "Specification" and "System Status" portions.  Those three inputs are also sending data to the "os" index but getting the same "transforming commands" generated no results error as above.&lt;/P&gt;

&lt;P&gt;Yes, I performed the actions in that document, up to the alerts portion (I'm not ready yet to start alerts flowing), including deleting the auto-created "all_hosts" and "default" category/group in order to configure my own.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2014 22:02:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-coming-up-empty/m-p/123434#M9592</guid>
      <dc:creator>redc</dc:creator>
      <dc:date>2014-06-27T22:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Unix and Linux coming up empty</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-coming-up-empty/m-p/123435#M9593</link>
      <description>&lt;P&gt;Just for kicks, I tried this by running the search manually and it &lt;STRONG&gt;does&lt;/STRONG&gt; generate output where before it doesn't.  Sorry @araitz.&lt;/P&gt;

&lt;P&gt;However, I find it odd that the app doesn't do this "out of the box" since I would expect there to always be multiple commands/users running on any given server (or at least, for that to be the case more often than not).&lt;/P&gt;

&lt;P&gt;But is this the solution?  Since I haven't seen what this dashboard &lt;STRONG&gt;should&lt;/STRONG&gt; look like when it's working correctly, I'm not sure if this produces the correct results.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2014 22:07:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-coming-up-empty/m-p/123435#M9593</guid>
      <dc:creator>redc</dc:creator>
      <dc:date>2014-06-27T22:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Unix and Linux coming up empty</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-coming-up-empty/m-p/123436#M9594</link>
      <description>&lt;P&gt;Well I think you've found your own problem.  Doesn't sound like the TA-nix is installed on your search head.  Not sure how that can be?  Here's the stanza from Splunk_TA_nix/default/props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [top]
 SHOULD_LINEMERGE=false
 LINE_BREAKER=(^$|[\r\n]+[\r\n]+)
 TRUNCATE=1000000
 DATETIME_CONFIG = CURRENT
 KV_MODE=multi
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:57:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-coming-up-empty/m-p/123436#M9594</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2020-09-28T16:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Unix and Linux coming up empty</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-coming-up-empty/m-p/123437#M9595</link>
      <description>&lt;P&gt;Ah-ha.  I'd installed it, but it was disabled.  Enabling the Splunk_TA_nix on the search head solved it.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:57:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-coming-up-empty/m-p/123437#M9595</guid>
      <dc:creator>redc</dc:creator>
      <dc:date>2020-09-28T16:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Unix and Linux coming up empty</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-coming-up-empty/m-p/123438#M9596</link>
      <description>&lt;P&gt;See above comment - answers won't let me move it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2014 22:39:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Unix-and-Linux-coming-up-empty/m-p/123438#M9596</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2014-06-27T22:39:22Z</dc:date>
    </item>
  </channel>
</rss>

