<?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: Why does my simple search return a variable number of events with each run? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-simple-search-return-a-variable-number-of-events/m-p/302827#M163715</link>
    <description>&lt;P&gt;that explains it.  I found the Timeliner line in my search too.&lt;BR /&gt;
And the linked links explains that that the temporary fix is to add "|sort _time" to the query&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jan 2018 21:45:18 GMT</pubDate>
    <dc:creator>MonkeyK</dc:creator>
    <dc:date>2018-01-11T21:45:18Z</dc:date>
    <item>
      <title>Why does my simple search return a variable number of events with each run?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-simple-search-return-a-variable-number-of-events/m-p/302823#M163711</link>
      <description>&lt;P&gt;I have a simple search against my firewall logs.  the search looks like&lt;BR /&gt;
index=firewall session_id=1234 src_ip=10.10.0.10 dest_ip=200.100.200.100 dest_port=22&lt;BR /&gt;
While the numbers are not correct, I do know that on 1/2/18 my firewall has 3 events for the parameters named:&lt;BR /&gt;
-a start event&lt;BR /&gt;
-an end event&lt;BR /&gt;
-and a threat event&lt;/P&gt;

&lt;P&gt;I have been trying to run this search with a time window of YTD, but get back 0-3 events with each run&lt;/P&gt;

&lt;P&gt;the search summary notes 3 events as:&lt;BR /&gt;
    3 events    (1/1/18 12:00:00.000 AM to 1/11/18 2:31:10.000 PM)&lt;BR /&gt;
and the events tab shows&lt;BR /&gt;
    Events (3)&lt;/P&gt;

&lt;P&gt;But my results have varying numbers of events in them: any number of events between 0-3&lt;/P&gt;

&lt;P&gt;What is going on here?  and how do I go about getting it fixed?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:37:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-simple-search-return-a-variable-number-of-events/m-p/302823#M163711</guid>
      <dc:creator>MonkeyK</dc:creator>
      <dc:date>2020-09-29T17:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my simple search return a variable number of events with each run?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-simple-search-return-a-variable-number-of-events/m-p/302824#M163712</link>
      <description>&lt;P&gt;Does this search take a long time to run?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 21:09:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-simple-search-return-a-variable-number-of-events/m-p/302824#M163712</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2018-01-11T21:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my simple search return a variable number of events with each run?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-simple-search-return-a-variable-number-of-events/m-p/302825#M163713</link>
      <description>&lt;P&gt;Consider &lt;A href="https://answers.splunk.com/answers/581127/number-of-events-found-not-matching-number-of-even.html"&gt;this previous answers post&lt;/A&gt; to see if it sounds like what you're seeing.  There is a known issue that is resolved in 6.6.4 regarding keepalives between the search head and indexers.&lt;/P&gt;

&lt;P&gt;Look in your serach.log for the searches that are failing and look for line(s) like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Timeliner - Ignored 2 events because they were after the commit time (0)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Jan 2018 21:12:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-simple-search-return-a-variable-number-of-events/m-p/302825#M163713</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2018-01-11T21:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my simple search return a variable number of events with each run?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-simple-search-return-a-variable-number-of-events/m-p/302826#M163714</link>
      <description>&lt;P&gt;On the order of 40-50 seconds&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 21:17:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-simple-search-return-a-variable-number-of-events/m-p/302826#M163714</guid>
      <dc:creator>MonkeyK</dc:creator>
      <dc:date>2018-01-11T21:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my simple search return a variable number of events with each run?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-simple-search-return-a-variable-number-of-events/m-p/302827#M163715</link>
      <description>&lt;P&gt;that explains it.  I found the Timeliner line in my search too.&lt;BR /&gt;
And the linked links explains that that the temporary fix is to add "|sort _time" to the query&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 21:45:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-simple-search-return-a-variable-number-of-events/m-p/302827#M163715</guid>
      <dc:creator>MonkeyK</dc:creator>
      <dc:date>2018-01-11T21:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my simple search return a variable number of events with each run?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-simple-search-return-a-variable-number-of-events/m-p/302828#M163716</link>
      <description>&lt;P&gt;Are you seeing those messages in search.log?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 21:45:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-simple-search-return-a-variable-number-of-events/m-p/302828#M163716</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2018-01-11T21:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my simple search return a variable number of events with each run?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-simple-search-return-a-variable-number-of-events/m-p/302829#M163717</link>
      <description>&lt;P&gt;I do see the messages in the simple query.&lt;/P&gt;

&lt;P&gt;I only found the issue because of a problem in a  query that had a subsearch.  In the case of the query with a subsearch, the timeliner messages do not show up.&lt;/P&gt;

&lt;P&gt;To be honest, I am not sure how I will do "|sort _time"  in my subsearch: I do not want _time to be a search criteria.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 22:21:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-simple-search-return-a-variable-number-of-events/m-p/302829#M163717</guid>
      <dc:creator>MonkeyK</dc:creator>
      <dc:date>2018-01-11T22:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my simple search return a variable number of events with each run?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-simple-search-return-a-variable-number-of-events/m-p/302830#M163718</link>
      <description>&lt;P&gt;&lt;CODE&gt;| sort _time&lt;/CODE&gt; isn't really a solution.  It's more of a method of showing that the issue is present and helps explain why.&lt;/P&gt;

&lt;P&gt;The real solution is to upgrade to 6.6.4 as soon as you can.  This isn't the only issue resolved in 6.6.4 that I've run into.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 22:27:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-simple-search-return-a-variable-number-of-events/m-p/302830#M163718</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2018-01-11T22:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my simple search return a variable number of events with each run?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-simple-search-return-a-variable-number-of-events/m-p/302831#M163719</link>
      <description>&lt;P&gt;I see.   thank you for helping me to understand the situation.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 23:45:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-simple-search-return-a-variable-number-of-events/m-p/302831#M163719</guid>
      <dc:creator>MonkeyK</dc:creator>
      <dc:date>2018-01-11T23:45:41Z</dc:date>
    </item>
  </channel>
</rss>

