<?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 Why is sorting by time reducing the number of my search results? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-sorting-by-time-reducing-the-number-of-my-search-results/m-p/183917#M52956</link>
    <description>&lt;P&gt;I made a search over two indexes (OR connected) and five sourcetypes (OR connected), limited the time to two days and received 26,300 events. Now I pipe this to a sort _time and suddenly only 10,000 of 26,300 events match? &lt;/P&gt;

&lt;P&gt;What is wrong here? Since when does sorting filter results?&lt;/P&gt;

&lt;P&gt;Example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="index-one" OR index="index-two" sourcetype="sourcetype-one" OR sourcetype="sourcetype-two" OR sourcetype="sourcetype-three" OR sourcetype="sourcetype-four" OR sourcetype="sourcetype-five" | sort _time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 28 Oct 2014 08:44:08 GMT</pubDate>
    <dc:creator>ulrich_track</dc:creator>
    <dc:date>2014-10-28T08:44:08Z</dc:date>
    <item>
      <title>Why is sorting by time reducing the number of my search results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-sorting-by-time-reducing-the-number-of-my-search-results/m-p/183917#M52956</link>
      <description>&lt;P&gt;I made a search over two indexes (OR connected) and five sourcetypes (OR connected), limited the time to two days and received 26,300 events. Now I pipe this to a sort _time and suddenly only 10,000 of 26,300 events match? &lt;/P&gt;

&lt;P&gt;What is wrong here? Since when does sorting filter results?&lt;/P&gt;

&lt;P&gt;Example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="index-one" OR index="index-two" sourcetype="sourcetype-one" OR sourcetype="sourcetype-two" OR sourcetype="sourcetype-three" OR sourcetype="sourcetype-four" OR sourcetype="sourcetype-five" | sort _time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Oct 2014 08:44:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-sorting-by-time-reducing-the-number-of-my-search-results/m-p/183917#M52956</guid>
      <dc:creator>ulrich_track</dc:creator>
      <dc:date>2014-10-28T08:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why is sorting by time reducing the number of my search results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-sorting-by-time-reducing-the-number-of-my-search-results/m-p/183918#M52957</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;sort is limited to 10000 results. Use this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| sort limit=0 _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or just&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| sort 0 _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Greetings&lt;/P&gt;

&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2014 08:52:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-sorting-by-time-reducing-the-number-of-my-search-results/m-p/183918#M52957</guid>
      <dc:creator>tom_frotscher</dc:creator>
      <dc:date>2014-10-28T08:52:20Z</dc:date>
    </item>
  </channel>
</rss>

