<?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 - Network Throughput Calculations in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38702#M1809</link>
    <description>&lt;P&gt;@lemikg, are you still having issues with the chart?&lt;/P&gt;</description>
    <pubDate>Mon, 08 Apr 2013 13:15:33 GMT</pubDate>
    <dc:creator>jodros</dc:creator>
    <dc:date>2013-04-08T13:15:33Z</dc:date>
    <item>
      <title>*Nix App - Network Throughput Calculations</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38686#M1793</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;

&lt;P&gt;I have some confusions around the Interface Throughput calculations.&lt;/P&gt;

&lt;P&gt;The following search seems to be finding the average of the DIFFERENCE between the last TX value and the current TX value. What are the TX values representing? The current upload bytes for that poll period, or the accumulated upload bytes for that interface?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;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;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What are we trying to calculate here? Also, is this an accurate representation of bandwidth usage for that interface on a system?&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2013 22:01:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38686#M1793</guid>
      <dc:creator>jdunlea_splunk</dc:creator>
      <dc:date>2013-02-20T22:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: *Nix App - Network Throughput Calculations</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38687#M1794</link>
      <description>&lt;P&gt;Accumulated total bytes, just like ifconfig/the ip2 suite (Btw, that search is much more easy if you use the delta search command)&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2013 22:25:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38687#M1794</guid>
      <dc:creator>tiberious726</dc:creator>
      <dc:date>2013-02-20T22:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: *Nix App - Network Throughput Calculations</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38688#M1795</link>
      <description>&lt;P&gt;Hi tiberious726,&lt;/P&gt;

&lt;P&gt;So you are saying that the SEARCH is calculating the "accumulated total bytes", or that the straight TX value in the events is the "accumulated total bytes" (so that is why we are finding the difference between TXbytes and lastTX in this search)? The latter makes the most sense to me. What is strange , is that for some of my instances, I am seeing negative results for the different between the current TXbytes value and the lastTX.... which does not make any sense?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2013 22:36:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38688#M1795</guid>
      <dc:creator>jdunlea_splunk</dc:creator>
      <dc:date>2013-02-20T22:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: *Nix App - Network Throughput Calculations</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38689#M1796</link>
      <description>&lt;P&gt;The TX value is accumulated total bytes, and yes, that is why you are finding the difference (Tho I would look at the "delta" command, it does that too and would probably be much more efficient).&lt;/P&gt;

&lt;P&gt;This command is pulling out the fields "streamstats current=f last(TXbytes) as lastTX, last(RXbytes) as lastRX by Name", It should be pulling them out in order, I'm not sure why it wouldnt (which would yield negative numbers). Try making sure that the "by Interface_Host" is actually working.&lt;/P&gt;

&lt;P&gt;Try looking at the raw data and make sure the tx values are increasing relative to the time stamp.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2013 03:33:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38689#M1796</guid>
      <dc:creator>tiberious726</dc:creator>
      <dc:date>2013-02-21T03:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: *Nix App - Network Throughput Calculations</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38690#M1797</link>
      <description>&lt;P&gt;I have also noticed some weirdness with this charting.  &lt;/P&gt;

&lt;P&gt;First, it appears as if you are grouping all of your streamstats calculations by only Name.  I believe it should be by "host Name".  If you don't first group by host and then Name, you wind up calculating all "eth0" stats across your entire environment, which isn't something I believe you are trying to do.&lt;/P&gt;

&lt;P&gt;Second, you take the time to get the receive Kb, but then do not chart it.  Why even worry about RX if you don't chart it?  I personally would like to see the RX numbers as well.&lt;/P&gt;

&lt;P&gt;I have modified the search to the following and have found much more accurate results:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="os" sourcetype="interfaces" host=$host$ | multikv fields name, inetAddr, RXbytes, TXbytes | streamstats current=f last(TXbytes) as lastTX, last(RXbytes) as lastRX by host 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)) as TX eval(sum(RX_Thruput_KB)/dc(time)) as RX by Interface_Host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I also modified the XML to add Kilobytes to the y axis of the chart, since it did not notate the units used.  Had to change it to "charting.secondaryAxisTitle.text" for KB to show.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2013 13:56:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38690#M1797</guid>
      <dc:creator>jodros</dc:creator>
      <dc:date>2013-03-18T13:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: *Nix App - Network Throughput Calculations</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38691#M1798</link>
      <description>&lt;P&gt;Also, can someone please explain to me what the "Top Interfaces" chart powered by the Top_Inet_Addresses_by_Host search is supposed to be reporting?  I find no usefulness in this chart currently.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:32:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38691#M1798</guid>
      <dc:creator>jodros</dc:creator>
      <dc:date>2020-09-28T13:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: *Nix App - Network Throughput Calculations</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38692#M1799</link>
      <description>&lt;P&gt;I'm not sure how that chart could be useful either &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;  Thanks for your modified search, we will take a look at it and try to incorporate lessons from it back in to the app.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2013 20:28:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38692#M1799</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2013-03-18T20:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: *Nix App - Network Throughput Calculations</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38693#M1800</link>
      <description>&lt;P&gt;I wanted to update with my modified "Top Interfaces" table.  Basically showing total KB tx and rx during the time selected on the dropdown.  The search is below:&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2013 20:04:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38693#M1800</guid>
      <dc:creator>jodros</dc:creator>
      <dc:date>2013-03-19T20:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: *Nix App - Network Throughput Calculations</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38694#M1801</link>
      <description>&lt;P&gt;index="os" sourcetype="interfaces" host=$host$ | multikv fields name, inetAddr, RXbytes, TXbytes | streamstats current=f last(TXbytes) as lastTX, last(RXbytes) as lastRX by host Name | eval time=_time | strcat Name "-" inetAddr "@" host Interface_Host | eval RX_Thruput_KB = (lastRX-RXbytes)/1024 | eval TX_Thruput_KB = (lastTX-TXbytes)/1024 | stats sum(TX_Thruput_KB) as "Total KB Transmitted" sum(RX_Thruput_KB) as "Total KB Received" by Interface_Host | sort -"Total KB Received" | head 20&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:32:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38694#M1801</guid>
      <dc:creator>jodros</dc:creator>
      <dc:date>2020-09-28T13:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: *Nix App - Network Throughput Calculations</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38695#M1802</link>
      <description>&lt;P&gt;@jodros: thank you very much for the modified search. However, I am getting negative results. Did anybody experience such an outcome and help me with some insight?&lt;/P&gt;

&lt;P&gt;cheers&lt;BR /&gt;
Mike&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2013 16:37:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38695#M1802</guid>
      <dc:creator>lemikg</dc:creator>
      <dc:date>2013-03-22T16:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: *Nix App - Network Throughput Calculations</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38696#M1803</link>
      <description>&lt;P&gt;@lemikg, which search are you referring, the Interface Throughput, or the Top Interfaces?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2013 16:41:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38696#M1803</guid>
      <dc:creator>jodros</dc:creator>
      <dc:date>2013-03-22T16:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: *Nix App - Network Throughput Calculations</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38697#M1804</link>
      <description>&lt;P&gt;Hi, i am referring to interface throughput. And also i noticed, that The time of The events doesnt match up if i go from "all hosts" to a selected one. For example in The overall chart host A peaks at 4 pm and when i select just that host it shows that The event occured at 5:30 am.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2013 17:03:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38697#M1804</guid>
      <dc:creator>lemikg</dc:creator>
      <dc:date>2013-03-22T17:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: *Nix App - Network Throughput Calculations</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38698#M1805</link>
      <description>&lt;P&gt;@lemikg, that is unusual.  I just tested and I am not experiencing that behavior, either with the negative values or with the differing peak times.&lt;/P&gt;

&lt;P&gt;Did you modify the search in anyway in your environment?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2013 17:46:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38698#M1805</guid>
      <dc:creator>jodros</dc:creator>
      <dc:date>2013-03-22T17:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: *Nix App - Network Throughput Calculations</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38699#M1806</link>
      <description>&lt;P&gt;@jodros, no I didn't.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Mar 2013 18:47:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38699#M1806</guid>
      <dc:creator>lemikg</dc:creator>
      <dc:date>2013-03-23T18:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: *Nix App - Network Throughput Calculations</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38700#M1807</link>
      <description>&lt;P&gt;hi @tiberious726,&lt;BR /&gt;
do you have an example query with the &lt;CODE&gt;delta&lt;/CODE&gt; command?&lt;BR /&gt;
cheers, Mike&lt;/P&gt;</description>
      <pubDate>Sat, 23 Mar 2013 18:50:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38700#M1807</guid>
      <dc:creator>lemikg</dc:creator>
      <dc:date>2013-03-23T18:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: *Nix App - Network Throughput Calculations</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38701#M1808</link>
      <description>&lt;P&gt;just "|delta TX"  it will save the values in a field called delta(TX)&lt;/P&gt;</description>
      <pubDate>Sat, 23 Mar 2013 23:06:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38701#M1808</guid>
      <dc:creator>tiberious726</dc:creator>
      <dc:date>2013-03-23T23:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: *Nix App - Network Throughput Calculations</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38702#M1809</link>
      <description>&lt;P&gt;@lemikg, are you still having issues with the chart?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2013 13:15:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38702#M1809</guid>
      <dc:creator>jodros</dc:creator>
      <dc:date>2013-04-08T13:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: *Nix App - Network Throughput Calculations</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38703#M1810</link>
      <description>&lt;P&gt;@lemikg, I finally encountered an instance where this chart displayed negative integers.  This was due to the server rebooting.  Due to the way the search is calculating thruput, servers rebooting, splunk services stopping for a period of time, etc, can cause those negative integers to appear in charting.  In order for the charts to be accurate, they need to have had the search run at least twice normally after all server related issues are corrected.  An easy fix for this is to search for only positive integers to chart.  I have modified the searches below.  Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2013 13:18:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38703#M1810</guid>
      <dc:creator>jodros</dc:creator>
      <dc:date>2013-04-10T13:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: *Nix App - Network Throughput Calculations</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38704#M1811</link>
      <description>&lt;P&gt;Thruput Chart&lt;/P&gt;

&lt;P&gt;index="os" sourcetype="interfaces" host=ho-splunkds1 | multikv fields name, inetAddr, RXbytes, TXbytes | streamstats current=f last(TXbytes) as lastTX, last(RXbytes) as lastRX by host Name | eval time=_time | strcat Name "-" inetAddr "@" host Interface_Host | eval RX_Thruput_KB = (lastRX-RXbytes)/1024 | eval TX_Thruput_KB = (lastTX-TXbytes)/1024 | search RX_Thruput_KB OR TX_Thruput_KB &amp;gt;= 0 | timechart eval(sum(TX_Thruput_KB)/dc(time)) as TX eval(sum(RX_Thruput_KB)/dc(time)) as RX by Interface_Host&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:42:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38704#M1811</guid>
      <dc:creator>jodros</dc:creator>
      <dc:date>2020-09-28T13:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: *Nix App - Network Throughput Calculations</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38705#M1812</link>
      <description>&lt;P&gt;Top Interfaces Table&lt;/P&gt;

&lt;P&gt;index="os" sourcetype="interfaces" host=$host$ | multikv fields name, inetAddr, RXbytes, TXbytes | streamstats current=f last(TXbytes) as lastTX, last(RXbytes) as lastRX by host Name | eval time=_time | strcat Name "-" inetAddr "@" host Interface_Host | eval RX_Thruput_KB = (lastRX-RXbytes)/1024 | eval TX_Thruput_KB = (lastTX-TXbytes)/1024 | search RX_Thruput_KB OR TX_Thruput_KB &amp;gt;= 0 | stats sum(TX_Thruput_KB) as "Total KB Transmitted" sum(RX_Thruput_KB) as "Total KB Received" by Interface_Host | sort -"Total KB Received" | head 20&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:42:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Nix-App-Network-Throughput-Calculations/m-p/38705#M1812</guid>
      <dc:creator>jodros</dc:creator>
      <dc:date>2020-09-28T13:42:31Z</dc:date>
    </item>
  </channel>
</rss>

