<?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 is summary index search returning duplicate and incorrect counts of data? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-summary-index-search-returning-duplicate-and-incorrect/m-p/273545#M82483</link>
    <description>&lt;P&gt;Some data can exist multiple times. IN my case up to 5 times. (i have 5 indexers)&lt;/P&gt;</description>
    <pubDate>Fri, 23 Feb 2018 14:10:42 GMT</pubDate>
    <dc:creator>graa1005</dc:creator>
    <dc:date>2018-02-23T14:10:42Z</dc:date>
    <item>
      <title>Why is summary index search returning duplicate and incorrect counts of data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-summary-index-search-returning-duplicate-and-incorrect/m-p/273540#M82478</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;

&lt;P&gt;I am populating the data in summary index using the following Splunk search&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=data"  | sistats count as total by  appName,trueclient, httpstatus,request_uri
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;when, I do stats over this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=summary_ |stats count as total by appName.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;We are getting lot of difference in counts.&lt;/P&gt;

&lt;P&gt;When, I run the search directly the app counts are very low, then on summary index it's very high. Why summary index data is returning wrong data? is it because, I added trueclient, httpstatus,request_uri in sistats?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 00:29:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-summary-index-search-returning-duplicate-and-incorrect/m-p/273540#M82478</guid>
      <dc:creator>smaran06</dc:creator>
      <dc:date>2017-02-02T00:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why is summary index search returning duplicate and incorrect counts of data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-summary-index-search-returning-duplicate-and-incorrect/m-p/273541#M82479</link>
      <description>&lt;P&gt;When you use the &lt;CODE&gt;si*&lt;/CODE&gt; command for summary index, you need to use the same aggregation command on the summary index data. Give this a try and see if the counts are matching.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=summary | stats count as total by  appName,trueclient, httpstatus,request_uri | stats sum(total) as total by appName
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;compare with this.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=data |stats count as total by appName
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Feb 2017 05:36:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-summary-index-search-returning-duplicate-and-incorrect/m-p/273541#M82479</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-02-02T05:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why is summary index search returning duplicate and incorrect counts of data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-summary-index-search-returning-duplicate-and-incorrect/m-p/273542#M82480</link>
      <description>&lt;P&gt;Thanks, still the count is not matching, summary index is  at very high when compare to data which is not is summary index&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 23:18:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-summary-index-search-returning-duplicate-and-incorrect/m-p/273542#M82480</guid>
      <dc:creator>smaran06</dc:creator>
      <dc:date>2017-02-02T23:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why is summary index search returning duplicate and incorrect counts of data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-summary-index-search-returning-duplicate-and-incorrect/m-p/273543#M82481</link>
      <description>&lt;P&gt;When you search for just&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;index=summary_&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;How many different source values are you getting?  Are you getting sources outside of the search you used to populate it?  If so, limit down to just the name of the search as your source when you search and see if the numbers look better.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 23:22:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-summary-index-search-returning-duplicate-and-incorrect/m-p/273543#M82481</guid>
      <dc:creator>briancronrath</dc:creator>
      <dc:date>2017-02-02T23:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why is summary index search returning duplicate and incorrect counts of data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-summary-index-search-returning-duplicate-and-incorrect/m-p/273544#M82482</link>
      <description>&lt;P&gt;I have exactly the same problem. Multiple entries in the summary index for the same data. Only one value for info_search_time So it looks like it is one search. only outputs on multiple indexers. &lt;BR /&gt;
If i deleted the summary data and re runtje job to add the results to the summary index.I get double data only different as the previous summary data. So only a part of the data is double.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:11:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-summary-index-search-returning-duplicate-and-incorrect/m-p/273544#M82482</guid>
      <dc:creator>graa1005</dc:creator>
      <dc:date>2020-09-29T18:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why is summary index search returning duplicate and incorrect counts of data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-summary-index-search-returning-duplicate-and-incorrect/m-p/273545#M82483</link>
      <description>&lt;P&gt;Some data can exist multiple times. IN my case up to 5 times. (i have 5 indexers)&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 14:10:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-summary-index-search-returning-duplicate-and-incorrect/m-p/273545#M82483</guid>
      <dc:creator>graa1005</dc:creator>
      <dc:date>2018-02-23T14:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why is summary index search returning duplicate and incorrect counts of data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-summary-index-search-returning-duplicate-and-incorrect/m-p/273546#M82484</link>
      <description>&lt;P&gt;We normally put a safe-guard to avoid duplicates. A left join in the spirit of - &lt;CODE&gt;| join type=left &amp;lt;field&amp;gt; [search index=&amp;lt;summary index name&amp;gt;| eval matched="Y"]&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 14:55:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-summary-index-search-returning-duplicate-and-incorrect/m-p/273546#M82484</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-02-23T14:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why is summary index search returning duplicate and incorrect counts of data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-summary-index-search-returning-duplicate-and-incorrect/m-p/273547#M82485</link>
      <description>&lt;P&gt;ddrillic my search does NOT generate duplicates. I execute the search ones a day to generate a summary of the records of the day before.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 15:00:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-summary-index-search-returning-duplicate-and-incorrect/m-p/273547#M82485</guid>
      <dc:creator>graa1005</dc:creator>
      <dc:date>2018-02-23T15:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why is summary index search returning duplicate and incorrect counts of data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-summary-index-search-returning-duplicate-and-incorrect/m-p/273548#M82486</link>
      <description>&lt;P&gt;Sorry ; -)&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 15:03:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-summary-index-search-returning-duplicate-and-incorrect/m-p/273548#M82486</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-02-23T15:03:21Z</dc:date>
    </item>
  </channel>
</rss>

