<?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 get top 10 values in splunk search ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-values-in-splunk-search/m-p/110109#M28765</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;source="F:Splunk_Log Files*" status ="Allow" src_ip | stats sum(recv_bytes)  as Bytes by src_ip | top limit=10 Bytes
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 08 Jul 2015 13:11:30 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2015-07-08T13:11:30Z</dc:date>
    <item>
      <title>How to get top 10 values in splunk search ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-values-in-splunk-search/m-p/110107#M28763</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I want to get top 10 src_ip . I have selected descending order for recv_bytes column .&lt;BR /&gt;
Please help me.&lt;BR /&gt;
 Query as follows &lt;BR /&gt;
&lt;STRONG&gt;source="F:\Splunk_Log Files\*" status ="Allow"   src_ip | stats sum(recv_bytes) by src_ip&lt;/STRONG&gt; . &lt;BR /&gt;
&lt;IMG src="https://community.splunk.com/storage/temp/44146-err2.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:37:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-values-in-splunk-search/m-p/110107#M28763</guid>
      <dc:creator>kavyaa</dc:creator>
      <dc:date>2020-09-29T06:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to get top 10 values in splunk search ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-values-in-splunk-search/m-p/110108#M28764</link>
      <description>&lt;P&gt;Are you looking for this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="F:Splunk_Log Files*" status ="Allow" src_ip | stats sum(recv_bytes) as sum_recv_bytes by src_ip | sort - sum_recv_bytes | head 10
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Jul 2015 13:08:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-values-in-splunk-search/m-p/110108#M28764</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-07-08T13:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to get top 10 values in splunk search ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-values-in-splunk-search/m-p/110109#M28765</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;source="F:Splunk_Log Files*" status ="Allow" src_ip | stats sum(recv_bytes)  as Bytes by src_ip | top limit=10 Bytes
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Jul 2015 13:11:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-values-in-splunk-search/m-p/110109#M28765</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-07-08T13:11:30Z</dc:date>
    </item>
  </channel>
</rss>

