<?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: How to find out the top 30 applications by bandwidth in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-out-the-top-30-applications-by-bandwidth/m-p/460111#M129801</link>
    <description>&lt;P&gt;any problem?&lt;BR /&gt;
looks like it works.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Feb 2020 09:54:22 GMT</pubDate>
    <dc:creator>to4kawa</dc:creator>
    <dc:date>2020-02-03T09:54:22Z</dc:date>
    <item>
      <title>How to find out the top 30 applications by bandwidth</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-out-the-top-30-applications-by-bandwidth/m-p/460110#M129800</link>
      <description>&lt;P&gt;Hi. I'm new to splunk and trying to code a search for top 30 applications by bandwidth. So far I have the following coding and wondering if anyone has any ideas on how I can get it to work. I have put an '*' in my index as it's classified. I would like it in a table. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* sourcetype=*=* OR * 
| eval byteReceivedMB=round(rcvdbyte/1024/1024,2) 
| eval byteSentMB=round(sentbyte/1024/1024,2) 
| stats sum(byteReceivedMB) as "Megabytes Received" sum(byteSentMB) as "Megabytes Sent" by app 
| addtotals 
| dedup app 
| sort limit=30 -Total
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Feb 2020 02:35:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-out-the-top-30-applications-by-bandwidth/m-p/460110#M129800</guid>
      <dc:creator>annageorgiou</dc:creator>
      <dc:date>2020-02-03T02:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out the top 30 applications by bandwidth</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-out-the-top-30-applications-by-bandwidth/m-p/460111#M129801</link>
      <description>&lt;P&gt;any problem?&lt;BR /&gt;
looks like it works.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 09:54:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-out-the-top-30-applications-by-bandwidth/m-p/460111#M129801</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-02-03T09:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out the top 30 applications by bandwidth</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-out-the-top-30-applications-by-bandwidth/m-p/460112#M129802</link>
      <description>&lt;P&gt;Make sure there is a space between the &lt;CODE&gt;-&lt;/CODE&gt; and the fields that are to be sorted descending.  Otherwise, Splunk has a tendency to think that &lt;CODE&gt;-Total&lt;/CODE&gt; is the name of the field it is supposed to sort on. &lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 17:54:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-out-the-top-30-applications-by-bandwidth/m-p/460112#M129802</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2020-02-03T17:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out the top 30 applications by bandwidth</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-out-the-top-30-applications-by-bandwidth/m-p/460113#M129803</link>
      <description>&lt;P&gt;Thank you. Played around with the total and the spacing and it works. &lt;/P&gt;

&lt;P&gt;I had to change the coding above to show:-&lt;/P&gt;

&lt;P&gt;index=*&lt;BR /&gt;
| eval TotalMB=round((TotalSent+TotalRcvd)/1024/1024,2) &lt;BR /&gt;
| eval TotalGB=round(TotalMB/1024,2) &lt;BR /&gt;
| stats sum(sentbyte) AS TotalSent, sum(rcvdbyte) AS TotalRcvd by app&lt;BR /&gt;
| addtotals &lt;BR /&gt;
| dedup app &lt;BR /&gt;
| sort limit=30 - total&lt;/P&gt;

&lt;P&gt;This is giving me some sent and received responses. Hopefully it's correct. &lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 22:20:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-out-the-top-30-applications-by-bandwidth/m-p/460113#M129803</guid>
      <dc:creator>annageorgiou</dc:creator>
      <dc:date>2020-02-03T22:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out the top 30 applications by bandwidth</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-out-the-top-30-applications-by-bandwidth/m-p/460114#M129804</link>
      <description>&lt;P&gt;I had to change the coding above to show:-&lt;/P&gt;

&lt;P&gt;index=*&lt;BR /&gt;
| eval TotalMB=round((TotalSent+TotalRcvd)/1024/1024,2) &lt;BR /&gt;
| eval TotalGB=round(TotalMB/1024,2) &lt;BR /&gt;
| stats sum(sentbyte) AS TotalSent, sum(rcvdbyte) AS TotalRcvd by app&lt;BR /&gt;
| addtotals &lt;BR /&gt;
| dedup app &lt;BR /&gt;
| sort limit=30 - total&lt;/P&gt;

&lt;P&gt;This is giving me some sent and received responses. Hopefully it's correct. I had to change the spacing for total as menitoned in the below answer.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 22:21:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-out-the-top-30-applications-by-bandwidth/m-p/460114#M129804</guid>
      <dc:creator>annageorgiou</dc:creator>
      <dc:date>2020-02-03T22:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out the top 30 applications by bandwidth</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-out-the-top-30-applications-by-bandwidth/m-p/460115#M129805</link>
      <description>&lt;P&gt;index= *&lt;BR /&gt;
| eval TotalMB=round((TotalSent+TotalRcvd)/1024/1024,2) &lt;BR /&gt;
| eval TotalGB=round(TotalMB/1024,2) &lt;BR /&gt;
| stats sum(sentbyte) AS TotalSent, sum(rcvdbyte) AS TotalRcvd by app&lt;BR /&gt;
| addtotals &lt;BR /&gt;
| dedup app &lt;BR /&gt;
| sort limit=30 - total&lt;/P&gt;

&lt;P&gt;In the end, I had to use this coding and it seems to work. Sorry above 'eval' coding (in my original question) didn't work.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 22:46:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-out-the-top-30-applications-by-bandwidth/m-p/460115#M129805</guid>
      <dc:creator>annageorgiou</dc:creator>
      <dc:date>2020-02-03T22:46:07Z</dc:date>
    </item>
  </channel>
</rss>

