<?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 collect command - count value changing with time. in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/collect-command-count-value-changing-with-time/m-p/542071#M4941</link>
    <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a scheduled reports (its not accelerated or summary indexed) and event count is populated into another index via collect command:&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=xxxx host=yyyyy|&amp;nbsp;stats count&lt;BR /&gt;| addinfo&lt;BR /&gt;| eval _time = info_min_time&lt;BR /&gt;| collect index=xyz_summary sourcetype="Trip Plans Other Apps" addTime=T&lt;/P&gt;&lt;P&gt;please note:&lt;/P&gt;&lt;P&gt;- the indexname contains summary but this index is not a summary index.&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Report runs at morning 7 o'clock for the previous day's data and the _time is overwritten to previous date. This is done so that the count is logged in as previous day's data.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue which we are facing here is when we run the same query for that time period after a few days( say a month), we are observing the value inside the index=xyz_summary (i.e. count value) is greater than when we run the original query. Interestingly, the results were both the same, when I ran both queries initially a month before.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions why is this happening (is it due to collect command) ? what modification can be done so that we dont get a mismatch here.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;AG.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Mar 2021 07:11:13 GMT</pubDate>
    <dc:creator>arjit</dc:creator>
    <dc:date>2021-03-03T07:11:13Z</dc:date>
    <item>
      <title>collect command - count value changing with time.</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/collect-command-count-value-changing-with-time/m-p/542071#M4941</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a scheduled reports (its not accelerated or summary indexed) and event count is populated into another index via collect command:&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=xxxx host=yyyyy|&amp;nbsp;stats count&lt;BR /&gt;| addinfo&lt;BR /&gt;| eval _time = info_min_time&lt;BR /&gt;| collect index=xyz_summary sourcetype="Trip Plans Other Apps" addTime=T&lt;/P&gt;&lt;P&gt;please note:&lt;/P&gt;&lt;P&gt;- the indexname contains summary but this index is not a summary index.&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Report runs at morning 7 o'clock for the previous day's data and the _time is overwritten to previous date. This is done so that the count is logged in as previous day's data.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue which we are facing here is when we run the same query for that time period after a few days( say a month), we are observing the value inside the index=xyz_summary (i.e. count value) is greater than when we run the original query. Interestingly, the results were both the same, when I ran both queries initially a month before.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions why is this happening (is it due to collect command) ? what modification can be done so that we dont get a mismatch here.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;AG.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 07:11:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/collect-command-count-value-changing-with-time/m-p/542071#M4941</guid>
      <dc:creator>arjit</dc:creator>
      <dc:date>2021-03-03T07:11:13Z</dc:date>
    </item>
  </channel>
</rss>

