<?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 search the number of bytes sent/received by top 5 IP addresses in my fortigate firewall? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-the-number-of-bytes-sent-received-by-top-5-IP/m-p/156520#M44031</link>
    <description>&lt;P&gt;How about this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=mynetworkdata | stats sum(sent_bytes) as send sum(rcvd_bytes) as receive by src_ip_addr (column 1) | sort - send,receive | head 5
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 28 Jul 2014 12:23:37 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2014-07-28T12:23:37Z</dc:date>
    <item>
      <title>How to search the number of bytes sent/received by top 5 IP addresses in my fortigate firewall?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-the-number-of-bytes-sent-received-by-top-5-IP/m-p/156517#M44028</link>
      <description>&lt;P&gt;I'm blocking.&lt;/P&gt;

&lt;P&gt;I would like to appear in the form of a graph or table, the number of bytes that my top 5 IP addresses consume. I do not understand exactly what is meant by the "count" in variable "sent" to fortigate log. Have you any idea?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2014 18:10:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-the-number-of-bytes-sent-received-by-top-5-IP/m-p/156517#M44028</guid>
      <dc:creator>pierra56</dc:creator>
      <dc:date>2014-07-24T18:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to search the number of bytes sent/received by top 5 IP addresses in my fortigate firewall?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-the-number-of-bytes-sent-received-by-top-5-IP/m-p/156518#M44029</link>
      <description>&lt;P&gt;You're looking for a search query to get the information which can be used in form of table graph? (the command line in the question is just confusiong). &lt;/P&gt;

&lt;P&gt;Have a look at this as well.  &lt;A href="http://answers.splunk.com/answers/138212/top-10-ip-along-w-top-4-ports"&gt;http://answers.splunk.com/answers/138212/top-10-ip-along-w-top-4-ports&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2014 18:44:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-the-number-of-bytes-sent-received-by-top-5-IP/m-p/156518#M44029</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-07-24T18:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to search the number of bytes sent/received by top 5 IP addresses in my fortigate firewall?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-the-number-of-bytes-sent-received-by-top-5-IP/m-p/156519#M44030</link>
      <description>&lt;P&gt;I was with you until you started asking about "count", as that comes with no context. The first part of your question is probably:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=mynetworkdata | stats sum(bytes) as bytes by src_ip_addr | sort - bytes | head 5
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 26 Jul 2014 14:08:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-the-number-of-bytes-sent-received-by-top-5-IP/m-p/156519#M44030</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2014-07-26T14:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to search the number of bytes sent/received by top 5 IP addresses in my fortigate firewall?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-the-number-of-bytes-sent-received-by-top-5-IP/m-p/156520#M44031</link>
      <description>&lt;P&gt;How about this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=mynetworkdata | stats sum(sent_bytes) as send sum(rcvd_bytes) as receive by src_ip_addr (column 1) | sort - send,receive | head 5
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Jul 2014 12:23:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-the-number-of-bytes-sent-received-by-top-5-IP/m-p/156520#M44031</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-07-28T12:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to search the number of bytes sent/received by top 5 IP addresses in my fortigate firewall?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-the-number-of-bytes-sent-received-by-top-5-IP/m-p/156521#M44032</link>
      <description>&lt;P&gt;Thx for your response. &lt;BR /&gt;
I would like to add another column. It is the separator to use ? this "|" &lt;BR /&gt;
for exemple:&lt;BR /&gt;
sourcetype=mynetworkdata |&lt;BR /&gt;
stats sum(sent_bytes) as send by src_ip_addr (column 1) | sort - send &lt;BR /&gt;
stats sum(rcvd_bytes) as receive by src_ip_addr (column 2) | sort - receive &lt;BR /&gt;
| head 5&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:11:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-the-number-of-bytes-sent-received-by-top-5-IP/m-p/156521#M44032</guid>
      <dc:creator>pierra56</dc:creator>
      <dc:date>2020-09-28T17:11:16Z</dc:date>
    </item>
  </channel>
</rss>

