<?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: Splunk Returning different Stats for same time range. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518531#M145828</link>
    <description>&lt;P&gt;Getting more results makes sense because there could be delay in indexing of events or timestamp issues. For example if you are taking report for july month on 1st of August there could be 31st of july events indexed late. But getting less number of events is strange.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Sep 2020 19:41:51 GMT</pubDate>
    <dc:creator>thambisetty</dc:creator>
    <dc:date>2020-09-08T19:41:51Z</dc:date>
    <item>
      <title>Splunk Returning different Stats for same time range.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518478#M145801</link>
      <description>&lt;P&gt;I have a scheduled report that runs monthly for the previous month. It runs a cron job&amp;nbsp;00 08 1 * *.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to go back an validate the report but when i run the raw search i get different results:&lt;/P&gt;&lt;P&gt;Search:&amp;nbsp;index=x sourcetype="xxx" source="*xxx*" group=*-xxx* msg="*assigned to session"&lt;BR /&gt;| stats max(_time) as last_login by user, group&lt;BR /&gt;| table user group last_login&lt;BR /&gt;| convert ctime(last_login)&lt;BR /&gt;| rename user as User group as Group last_login as "Last Login"&lt;/P&gt;&lt;P&gt;Results count from the scheduled report Tuesday, September 1, 2020 8:01 AM:&amp;nbsp; 15754 results&lt;/P&gt;&lt;P&gt;results from the ad-hoc search ran this morning 9/8/2020: 15748&lt;/P&gt;&lt;P&gt;I understand this is a small difference but it doesn't make sense why i would have less results now, verses 7 days ago.&lt;/P&gt;&lt;P&gt;Thanks everyone in advance for the help.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 15:53:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518478#M145801</guid>
      <dc:creator>djreschke</dc:creator>
      <dc:date>2020-09-08T15:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Returning different Stats for same time range.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518514#M145811</link>
      <description>&lt;P&gt;What are your earliest and latest parameters? And also retention time for that index?&lt;BR /&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 18:59:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518514#M145811</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-09-08T18:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Returning different Stats for same time range.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518520#M145813</link>
      <description>&lt;P&gt;&lt;A href="mailto:-1mon@mon" target="_blank" rel="nofollow noopener noreferrer"&gt;-1mon@mon&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;- earliest and latest is&amp;nbsp;@mon. and rentention time is 1 year.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 19:15:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518520#M145813</guid>
      <dc:creator>djreschke</dc:creator>
      <dc:date>2020-09-08T19:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Returning different Stats for same time range.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518522#M145814</link>
      <description>When you are running that ad-hoc several times (with some time between queries) are you getting all times the same result? Is there any errors/warnings on job inspector? How about if you change max to latest or latest_time?</description>
      <pubDate>Tue, 08 Sep 2020 19:19:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518522#M145814</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-09-08T19:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Returning different Stats for same time range.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518525#M145816</link>
      <description>&lt;P&gt;I am getting the same results every time for the ad-hoc searches, no errors, but i am not getting the results from the scheduled search that ran last week. I have not changed the search, to use latest yet. I am trying to understand why the difference. the only change that was done after the schedule search ran was updating the following on the Cluster master.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[httpServer]
maxThreads=100000
maxSockets=50000&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 19:26:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518525#M145816</guid>
      <dc:creator>djreschke</dc:creator>
      <dc:date>2020-09-08T19:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Returning different Stats for same time range.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518527#M145818</link>
      <description>So was the scheduled search without latest=@mon? If it is without that probably explain the difference. You could test it with putting latest=“09/01/2020:08:01:00”</description>
      <pubDate>Tue, 08 Sep 2020 19:32:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518527#M145818</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-09-08T19:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Returning different Stats for same time range.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518528#M145819</link>
      <description>&lt;P&gt;Can you verify info_max_time and info_min_time for both the searches using _audit logs. May be you can find some clue there?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 19:35:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518528#M145819</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-08T19:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Returning different Stats for same time range.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518530#M145820</link>
      <description>&lt;P&gt;The scheduled search uses the same time inputs for earliest and latest. I ran a different search for the month of july and I am getting more results now verses the scheduled report that ran for that month.&amp;nbsp;&lt;/P&gt;&lt;P&gt;July Secheduled report results:&amp;nbsp;14177&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ad-Hoc search running from 7/01/2020 00:00:00 to 8/01/2020 00:00:00 results: 14187&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 19:38:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518530#M145820</guid>
      <dc:creator>djreschke</dc:creator>
      <dc:date>2020-09-08T19:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Returning different Stats for same time range.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518531#M145828</link>
      <description>&lt;P&gt;Getting more results makes sense because there could be delay in indexing of events or timestamp issues. For example if you are taking report for july month on 1st of August there could be 31st of july events indexed late. But getting less number of events is strange.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 19:41:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518531#M145828</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-08T19:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Returning different Stats for same time range.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518546#M145835</link>
      <description>&lt;P&gt;You probably have some events which have come later on to indexers, which explain this.&lt;/P&gt;&lt;P&gt;A good way to check this:&lt;/P&gt;&lt;LI-CODE lang="java"&gt;...
| eval iTime = _indextime, dTime = iTime - _time 
| eval dTimeHuman = tostring(dTime, "duration")&lt;/LI-CODE&gt;&lt;P&gt;r. Ismo&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 06:08:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518546#M145835</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-09-09T06:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Returning different Stats for same time range.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518596#M145913</link>
      <description>&lt;P&gt;to check when events are indexed&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=yourindex | eval _time=_indextime | stats count&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;_indextime will give you time when events are indexed to indexer.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 05:14:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Returning-different-Stats-for-same-time-range/m-p/518596#M145913</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-09T05:14:49Z</dc:date>
    </item>
  </channel>
</rss>

