<?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: *nix App interfaces no results found in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/nix-App-interfaces-no-results-found/m-p/69567#M4315</link>
    <description>&lt;P&gt;The interfaces.sh script has some problems that you can find in other answers:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/22690/getting-syntax-error-from-interfacessh-for-nix-app"&gt;http://splunk-base.splunk.com/answers/22690/getting-syntax-error-from-interfacessh-for-nix-app&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Look there for the patch.  You can test that this is the issue by running:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index="os" sourcetype="interfaces"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If I am right, there won't be any results.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2012 01:39:41 GMT</pubDate>
    <dc:creator>araitz</dc:creator>
    <dc:date>2012-02-10T01:39:41Z</dc:date>
    <item>
      <title>*nix App interfaces no results found</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/nix-App-interfaces-no-results-found/m-p/69566#M4314</link>
      <description>&lt;P&gt;We are evaluating Splunk to provide central logging and to possibly replace our Zenoss monitoring tool. I've installed the *nix App but when I look at Interface Throughput I get a "No results found." error. I have already enabled interface monitoring on my remote Linux system (RHEL 5.6) and I can see events, however many of the fields appear to be empty.&lt;/P&gt;

&lt;P&gt;Is the collection script on the client side not parsing the output correctly? Thank you.&lt;/P&gt;

&lt;P&gt;The following is the search from the job inspector:&lt;/P&gt;

&lt;PRE&gt;search index="os" sourcetype="interfaces" host=*   | multikv fields name, inetAddr, RXbytes, TXbytes   | streamstats current=f last(TXbytes) as lastTX, last(RXbytes) as lastRX by Name    | eval time=_time   | strcat Name "-" inetAddr "@" host Interface_Host   | eval RX_Thruput_KB = (lastRX-RXbytes)/1024   | eval TX_Thruput_KB = (lastTX-TXbytes)/1024   | timechart  eval(sum(TX_Thruput_KB)/dc(time)) by Interface_Host&lt;/PRE&gt;

&lt;P&gt;It states that "the transforming commands in the highlighted portion of the following search:&lt;/P&gt;

&lt;PRE&gt;timechart  eval(sum(TX_Thruput_KB)/dc(time)) by Interface_Host&lt;/PRE&gt;

&lt;P&gt;over the time range:&lt;/P&gt;

&lt;PRE&gt;2/9/12 4:09:00.000 PM – 2/9/12 4:24:07.000 PM&lt;/PRE&gt;

&lt;P&gt;generated no results."&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
It also spat out the following debug messages:&lt;/P&gt;

&lt;PRE&gt;
DEBUG: Specified field(s) missing from results: 'TX_Thruput_KB'
DEBUG: base lispy: [ AND host::* index::os sourcetype::interfaces ]
DEBUG: search context: user="admin", app="unix", bs-pathname="/opt/splunk/etc"
&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Feb 2012 01:09:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/nix-App-interfaces-no-results-found/m-p/69566#M4314</guid>
      <dc:creator>verdantjellis</dc:creator>
      <dc:date>2012-02-10T01:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: *nix App interfaces no results found</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/nix-App-interfaces-no-results-found/m-p/69567#M4315</link>
      <description>&lt;P&gt;The interfaces.sh script has some problems that you can find in other answers:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/22690/getting-syntax-error-from-interfacessh-for-nix-app"&gt;http://splunk-base.splunk.com/answers/22690/getting-syntax-error-from-interfacessh-for-nix-app&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Look there for the patch.  You can test that this is the issue by running:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index="os" sourcetype="interfaces"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If I am right, there won't be any results.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 01:39:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/nix-App-interfaces-no-results-found/m-p/69567#M4315</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2012-02-10T01:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: *nix App interfaces no results found</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/nix-App-interfaces-no-results-found/m-p/69568#M4316</link>
      <description>&lt;P&gt;Thanks for the info, after doing some more research I figured out how to run the interfaces.sh script in debug mode and that's where I saw the error that the 'ifconfig.' command could not be found. There was a '.' put on the end of the command in the script and after removing that the command ran properly.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 16:05:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/nix-App-interfaces-no-results-found/m-p/69568#M4316</guid>
      <dc:creator>verdantjellis</dc:creator>
      <dc:date>2012-02-10T16:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: *nix App interfaces no results found</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/nix-App-interfaces-no-results-found/m-p/69569#M4317</link>
      <description>&lt;P&gt;Glad to help.  We will have this issue fixed in a forthcoming version of the app.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 16:41:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/nix-App-interfaces-no-results-found/m-p/69569#M4317</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2012-02-10T16:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: *nix App interfaces no results found</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/nix-App-interfaces-no-results-found/m-p/69570#M4318</link>
      <description>&lt;P&gt;Actually, my original issue still remains, though, after fixing the interfaces.sh script. I still am unable to generate a chart of throughput with the same errors as above...&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 16:56:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/nix-App-interfaces-no-results-found/m-p/69570#M4318</guid>
      <dc:creator>verdantjellis</dc:creator>
      <dc:date>2012-02-10T16:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: *nix App interfaces no results found</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/nix-App-interfaces-no-results-found/m-p/69571#M4319</link>
      <description>&lt;P&gt;OK - what happens when you run the search above?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 17:01:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/nix-App-interfaces-no-results-found/m-p/69571#M4319</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2012-02-10T17:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: *nix App interfaces no results found</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/nix-App-interfaces-no-results-found/m-p/69572#M4320</link>
      <description>&lt;P&gt;bump - need more information to help you out &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2012 18:28:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/nix-App-interfaces-no-results-found/m-p/69572#M4320</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2012-02-13T18:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: *nix App interfaces no results found</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/nix-App-interfaces-no-results-found/m-p/69573#M4321</link>
      <description>&lt;P&gt;Verdantjellis, just came across the same extra '.' on line 27:&lt;BR /&gt;
        CMD='ifconfig'.&lt;/P&gt;

&lt;P&gt;After removing it, the script ran and my charts started to be generated.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2012 21:43:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/nix-App-interfaces-no-results-found/m-p/69573#M4321</guid>
      <dc:creator>bluelip</dc:creator>
      <dc:date>2012-02-28T21:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: *nix App interfaces no results found</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/nix-App-interfaces-no-results-found/m-p/69574#M4322</link>
      <description>&lt;P&gt;Yes, I too ran across this.  Still line 27.  Take out the '.' (period) and it runs just fine and charts generate.&lt;/P&gt;

&lt;P&gt;File (default install):&lt;BR /&gt;
/opt/splunk/etc/apps/unix/bin/interfaces.sh&lt;/P&gt;

&lt;P&gt;This occurs on CentOS 6.3:&lt;BR /&gt;
 2.6.32-279.1.1.el6.x86_64 #1 SMP Tue Jul 10 13:47:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:05:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/nix-App-interfaces-no-results-found/m-p/69574#M4322</guid>
      <dc:creator>RodB1</dc:creator>
      <dc:date>2020-09-28T12:05:29Z</dc:date>
    </item>
  </channel>
</rss>

