<?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: Inconsistent Search results in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Inconsistent-Search-results/m-p/80493#M20339</link>
    <description>&lt;P&gt;what results do you get if you change your first search to: earliest=-7d latest=-2h sourcetype=x status=fatal | search type=delta | ctable type status&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2012 18:35:58 GMT</pubDate>
    <dc:creator>Stephen_Sorkin</dc:creator>
    <dc:date>2012-02-28T18:35:58Z</dc:date>
    <item>
      <title>Inconsistent Search results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Inconsistent-Search-results/m-p/80492#M20338</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am having some inconsistent search results and I'm not terribly sure why.&lt;/P&gt;

&lt;P&gt;search #1:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;earliest=-7d latest=-2h sourcetype=x  type=delta status=fatal | ctable type status
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Which returns:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    type    fatal   TOTAL
1   delta   658     658
2   TOTAL   658     658
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;search #2:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;earliest=-7d latest=-2h sourcetype=x  type=* status=fatal | ctable type status
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Which returns:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    type       fatal    TOTAL
1   delta      861      861
2   full       34       34
3   TOTAL      895      895
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The searches are running over the same period of time but returning differing results. I've confirmed that all my indexers are available.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Kate&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2012 17:00:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Inconsistent-Search-results/m-p/80492#M20338</guid>
      <dc:creator>Kate_Lawrence-G</dc:creator>
      <dc:date>2012-02-28T17:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Inconsistent Search results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Inconsistent-Search-results/m-p/80493#M20339</link>
      <description>&lt;P&gt;what results do you get if you change your first search to: earliest=-7d latest=-2h sourcetype=x status=fatal | search type=delta | ctable type status&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2012 18:35:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Inconsistent-Search-results/m-p/80493#M20339</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2012-02-28T18:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Inconsistent Search results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Inconsistent-Search-results/m-p/80494#M20340</link>
      <description>&lt;P&gt;I get the 861 count again....&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;     type   fatal    TOTAL
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;1   delta   861  861&lt;BR /&gt;
2   TOTAL   861  861&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2012 21:00:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Inconsistent-Search-results/m-p/80494#M20340</guid>
      <dc:creator>Kate_Lawrence-G</dc:creator>
      <dc:date>2012-02-28T21:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Inconsistent Search results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Inconsistent-Search-results/m-p/80495#M20341</link>
      <description>&lt;P&gt;When you search for &lt;CODE&gt;type=delta&lt;/CODE&gt; in part of the search before the first pipe character, we use the heuristic optimization that the value of the field/value comparison, here &lt;CODE&gt;delta&lt;/CODE&gt; is indexed. I presume that this heuristic fails here. You can fix this by changing "type" in fields.conf to not be an indexed field, at the consequence of some searches being slower.&lt;/P&gt;

&lt;P&gt;You can find the problematic events using:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;earliest=-7d latest=-2h sourcetype=x  NOT delta status=fatal | search type=delta
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Mar 2012 17:29:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Inconsistent-Search-results/m-p/80495#M20341</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2012-03-05T17:29:47Z</dc:date>
    </item>
  </channel>
</rss>

