<?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: incorrect number of events in search results when using sort command in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/incorrect-number-of-events-in-search-results-when-using-sort/m-p/18738#M2757</link>
    <description>&lt;P&gt;@sideview I'm facing with a similar problem maybe you can take a look and give advice? &lt;A href="http://splunk-base.splunk.com/answers/62296/wrong-sorting"&gt;http://splunk-base.splunk.com/answers/62296/wrong-sorting&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Oct 2012 13:39:05 GMT</pubDate>
    <dc:creator>iKate</dc:creator>
    <dc:date>2012-10-17T13:39:05Z</dc:date>
    <item>
      <title>incorrect number of events in search results when using sort command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/incorrect-number-of-events-in-search-results-when-using-sort/m-p/18735#M2754</link>
      <description>&lt;P&gt;Hi. When searching "index=sample | sort host", the search stopped at 10000 events.  Is there a limit on number of events returned by the sort command?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2010 13:37:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/incorrect-number-of-events-in-search-results-when-using-sort/m-p/18735#M2754</guid>
      <dc:creator>alextsui</dc:creator>
      <dc:date>2010-12-29T13:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect number of events in search results when using sort command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/incorrect-number-of-events-in-search-results-when-using-sort/m-p/18736#M2755</link>
      <description>&lt;P&gt;Yes, there is a default limit of 10000 events for the &lt;CODE&gt;sort&lt;/CODE&gt; command. However you can specify your own limit as a parameter, so for instance if you want to specify a limit of 15000 events instead you would do this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=sample | sort 15000 host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;More information regarding the &lt;CODE&gt;sort&lt;/CODE&gt; command is available here. &lt;A href="http://www.splunk.com/base/Documentation/latest/SearchReference/Sort" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/SearchReference/Sort&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2010 17:36:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/incorrect-number-of-events-in-search-results-when-using-sort/m-p/18736#M2755</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2010-12-29T17:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect number of events in search results when using sort command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/incorrect-number-of-events-in-search-results-when-using-sort/m-p/18737#M2756</link>
      <description>&lt;P&gt;Yes the sort command will only return 10,000 rows by default.   You can raise that by specifying a different limit, ie &lt;CODE&gt;| sort 50000 host&lt;/CODE&gt; however eventually you may hit other more fundamental limits. &lt;/P&gt;

&lt;P&gt;And I think you may want to look at this: &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| stats count by host&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;which will chug through all the work and wont hit any kind of limits.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2010 01:49:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/incorrect-number-of-events-in-search-results-when-using-sort/m-p/18737#M2756</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2010-12-30T01:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect number of events in search results when using sort command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/incorrect-number-of-events-in-search-results-when-using-sort/m-p/18738#M2757</link>
      <description>&lt;P&gt;@sideview I'm facing with a similar problem maybe you can take a look and give advice? &lt;A href="http://splunk-base.splunk.com/answers/62296/wrong-sorting"&gt;http://splunk-base.splunk.com/answers/62296/wrong-sorting&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2012 13:39:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/incorrect-number-of-events-in-search-results-when-using-sort/m-p/18738#M2757</guid>
      <dc:creator>iKate</dc:creator>
      <dc:date>2012-10-17T13:39:05Z</dc:date>
    </item>
  </channel>
</rss>

