<?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: Syntax for 'top x application by usage per source ip' in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Syntax-for-top-x-application-by-usage-per-source-ip/m-p/400499#M170953</link>
    <description>&lt;P&gt;I am able to do it using below search:&lt;/P&gt;

&lt;P&gt;| ess eaddr=172.20.8.60:9200 index=nuage_dpi_flowstats-* tsfield=timestamp query="EnterpriseName=Lismore Diocese" &lt;BR /&gt;
| eval _time=strftime(_time/1000, "%Y-%m-%d %H:%M:%S") &lt;BR /&gt;
| stats sum(TotalMB) as "Total(MB)" by DstIp, L7ClassEnhanced, DestinationNSG &lt;BR /&gt;
| sort DstIp -"Total(MB)" &lt;BR /&gt;
| eval counter = 1 &lt;BR /&gt;
| streamstats sum(counter) as seqNo by DstIp &lt;BR /&gt;
| where seqNo &amp;lt; 5 &lt;BR /&gt;
| fields - counter seqNo &lt;BR /&gt;
| search NOT DestinationNSG=ULT1_NSGX1 &lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 00:44:22 GMT</pubDate>
    <dc:creator>ahmadsaadwarrai</dc:creator>
    <dc:date>2020-09-30T00:44:22Z</dc:date>
    <item>
      <title>Syntax for 'top x application by usage per source ip'</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Syntax-for-top-x-application-by-usage-per-source-ip/m-p/400497#M170951</link>
      <description>&lt;P&gt;I have raw search:&lt;/P&gt;

&lt;P&gt;| ess eaddr=172.20.8.60:9200 index=nuage_dpi_flowstats-* tsfield=timestamp query="EnterpriseName=Lismore Diocese" &lt;BR /&gt;
| eval _time=strftime(_time/1000, "%Y-%m-%d %H:%M:%S")&lt;BR /&gt;
| stats sum(TotalMB) as "Total(MB)" by DstIp, L7ClassEnhanced, DestinationNSG &lt;BR /&gt;
| search NOT DestinationNSG=ULT1_NSGX&lt;/P&gt;

&lt;P&gt;How do I add top parameters, saying top x applications based on usage per source IP.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:46:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Syntax-for-top-x-application-by-usage-per-source-ip/m-p/400497#M170951</guid>
      <dc:creator>ahmadsaadwarrai</dc:creator>
      <dc:date>2020-09-30T00:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for 'top x application by usage per source ip'</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Syntax-for-top-x-application-by-usage-per-source-ip/m-p/400498#M170952</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;&amp;lt;your search&amp;gt; | top 10 application by sourceIP
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 31 May 2019 02:49:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Syntax-for-top-x-application-by-usage-per-source-ip/m-p/400498#M170952</guid>
      <dc:creator>nabeel652</dc:creator>
      <dc:date>2019-05-31T02:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for 'top x application by usage per source ip'</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Syntax-for-top-x-application-by-usage-per-source-ip/m-p/400499#M170953</link>
      <description>&lt;P&gt;I am able to do it using below search:&lt;/P&gt;

&lt;P&gt;| ess eaddr=172.20.8.60:9200 index=nuage_dpi_flowstats-* tsfield=timestamp query="EnterpriseName=Lismore Diocese" &lt;BR /&gt;
| eval _time=strftime(_time/1000, "%Y-%m-%d %H:%M:%S") &lt;BR /&gt;
| stats sum(TotalMB) as "Total(MB)" by DstIp, L7ClassEnhanced, DestinationNSG &lt;BR /&gt;
| sort DstIp -"Total(MB)" &lt;BR /&gt;
| eval counter = 1 &lt;BR /&gt;
| streamstats sum(counter) as seqNo by DstIp &lt;BR /&gt;
| where seqNo &amp;lt; 5 &lt;BR /&gt;
| fields - counter seqNo &lt;BR /&gt;
| search NOT DestinationNSG=ULT1_NSGX1 &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:44:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Syntax-for-top-x-application-by-usage-per-source-ip/m-p/400499#M170953</guid>
      <dc:creator>ahmadsaadwarrai</dc:creator>
      <dc:date>2020-09-30T00:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for 'top x application by usage per source ip'</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Syntax-for-top-x-application-by-usage-per-source-ip/m-p/400500#M170954</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| stats values('Total(MB)') by source_ip | sort 0 - 'Total(MB)' | head limit=x
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here 'Total(MB)' is the usage and limit returns first x records from results.&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 08:32:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Syntax-for-top-x-application-by-usage-per-source-ip/m-p/400500#M170954</guid>
      <dc:creator>darshildave</dc:creator>
      <dc:date>2019-05-31T08:32:44Z</dc:date>
    </item>
  </channel>
</rss>

