<?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 past data is missing even if date range is inside my retention policy of that index? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-past-data-is-missing-even-if-date-range-is-inside-my/m-p/488901#M136551</link>
    <description>&lt;P&gt;Hi @gcusello &lt;BR /&gt;
Even if maxTotalDataSizeMB is reached and events were frozen. We have retention of 3years. Why would a event of Jan 2020 be frozen? Or freezing is random? Isn't freezing based on age? Oldest events will be frozen even if  maxTotalDataSizeMB is reached?&lt;/P&gt;</description>
    <pubDate>Mon, 09 Mar 2020 07:19:02 GMT</pubDate>
    <dc:creator>muizash</dc:creator>
    <dc:date>2020-03-09T07:19:02Z</dc:date>
    <item>
      <title>Why past data is missing even if date range is inside my retention policy of that index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-past-data-is-missing-even-if-date-range-is-inside-my/m-p/488898#M136548</link>
      <description>&lt;P&gt;SPL:&lt;BR /&gt;
"(index=3y OR index=3mon) (host=x OR host=y)&lt;BR /&gt;
name="RegisteredUserLog" actionType=egg pointGet=true (platform=0 OR platform=1) &lt;BR /&gt;
| eval earned_date=strftime(_time, "%Y-%m-%d")&lt;BR /&gt;
| stats count by event_id earned_date&lt;BR /&gt;
| rename event_id as easy_id&lt;BR /&gt;
| table easy_id earned_date"&lt;/P&gt;

&lt;P&gt;Notes&lt;BR /&gt;
- The data I am seeing today is different from when i saw and exported same data before 1 moth providing same date range.&lt;BR /&gt;
- To give you idea, I am seeing 20K less results as compared to 1L events before one month for exact SPL and exact time range.&lt;BR /&gt;
- Retention of index is not issue&lt;BR /&gt;
- Date range is not issue&lt;/P&gt;

&lt;P&gt;Please help&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:31:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-past-data-is-missing-even-if-date-range-is-inside-my/m-p/488898#M136548</guid>
      <dc:creator>muizash</dc:creator>
      <dc:date>2020-09-30T04:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Why past data is missing even if date range is inside my retention policy of that index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-past-data-is-missing-even-if-date-range-is-inside-my/m-p/488899#M136549</link>
      <description>&lt;P&gt;Check if data is deleted because of retention or max size in last 1 month.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=_internal sourcetype=splunkd INDEX_NAME component=BucketMover frozenTimePeriodInSecs OR maxTotalDataSizeMB
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Mar 2020 07:01:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-past-data-is-missing-even-if-date-range-is-inside-my/m-p/488899#M136549</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-03-09T07:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why past data is missing even if date range is inside my retention policy of that index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-past-data-is-missing-even-if-date-range-is-inside-my/m-p/488900#M136550</link>
      <description>&lt;P&gt;Hi @muizash,&lt;BR /&gt;
did you already checked the max size of your index? if you reached it, the oldest buckets were deleted.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 07:03:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-past-data-is-missing-even-if-date-range-is-inside-my/m-p/488900#M136550</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-03-09T07:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why past data is missing even if date range is inside my retention policy of that index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-past-data-is-missing-even-if-date-range-is-inside-my/m-p/488901#M136551</link>
      <description>&lt;P&gt;Hi @gcusello &lt;BR /&gt;
Even if maxTotalDataSizeMB is reached and events were frozen. We have retention of 3years. Why would a event of Jan 2020 be frozen? Or freezing is random? Isn't freezing based on age? Oldest events will be frozen even if  maxTotalDataSizeMB is reached?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 07:19:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-past-data-is-missing-even-if-date-range-is-inside-my/m-p/488901#M136551</guid>
      <dc:creator>muizash</dc:creator>
      <dc:date>2020-03-09T07:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why past data is missing even if date range is inside my retention policy of that index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-past-data-is-missing-even-if-date-range-is-inside-my/m-p/488902#M136552</link>
      <description>&lt;P&gt;Hi @manjunathmeti &lt;BR /&gt;
Retention is 3 years are events from Jan 2020 are missing.&lt;BR /&gt;
Even if maxTotalDataSizeMB is reached and events were frozen. We have retention of 3years. Why would a event of Jan 2020 be frozen? Or freezing is random? Isn't freezing based on age? Oldest events will be frozen even if maxTotalDataSizeMB is reached?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 07:20:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-past-data-is-missing-even-if-date-range-is-inside-my/m-p/488902#M136552</guid>
      <dc:creator>muizash</dc:creator>
      <dc:date>2020-03-09T07:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why past data is missing even if date range is inside my retention policy of that index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-past-data-is-missing-even-if-date-range-is-inside-my/m-p/488903#M136553</link>
      <description>&lt;P&gt;Hi @muizash,&lt;BR /&gt;
the oldest buckets are frozen when one of the two conditions is reached, max size or retention period.&lt;BR /&gt;
Anyway it's strange that events of January 2020 are frozen, have you older events or not?&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 07:28:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-past-data-is-missing-even-if-date-range-is-inside-my/m-p/488903#M136553</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-03-09T07:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why past data is missing even if date range is inside my retention policy of that index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-past-data-is-missing-even-if-date-range-is-inside-my/m-p/488904#M136554</link>
      <description>&lt;P&gt;Hi @gcusello &lt;BR /&gt;
Yes, I am definitely able to see older data.&lt;BR /&gt;
I wonder why some data is missing.&lt;BR /&gt;
Is there any other possibility?&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Muiz&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 07:34:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-past-data-is-missing-even-if-date-range-is-inside-my/m-p/488904#M136554</guid>
      <dc:creator>muizash</dc:creator>
      <dc:date>2020-03-09T07:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why past data is missing even if date range is inside my retention policy of that index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-past-data-is-missing-even-if-date-range-is-inside-my/m-p/488905#M136555</link>
      <description>&lt;P&gt;Hi @muizash,&lt;BR /&gt;
if you didn't deleted any event the problem could be in the search you're using:&lt;BR /&gt;
could the missing events have timestamp between january 2 and january 12?&lt;BR /&gt;
In other words, is the time format of your data dd/mm/yyyy?&lt;BR /&gt;
In tis case there could be a parsing error.&lt;BR /&gt;
Try to run a search using always as time range (eventually blocking search with head 10000) and see if there are future events caused by an error in timestamp.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 07:51:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-past-data-is-missing-even-if-date-range-is-inside-my/m-p/488905#M136555</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-03-09T07:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why past data is missing even if date range is inside my retention policy of that index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-past-data-is-missing-even-if-date-range-is-inside-my/m-p/488906#M136556</link>
      <description>&lt;P&gt;Hi @muizash,&lt;BR /&gt;
Refer indexes.conf documentation, this says:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;maxTotalDataSizeMB = &amp;lt;&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;
** CAUTION: This setting takes precedence over other settings like 'frozenTimePeriodInSecs' with regard to data retention. If the index grows beyond 'maxTotalDataSizeMB' megabytes before 'frozenTimePeriodInSecs' seconds have passed, data could prematurely roll to frozen. As the default policy for rolling data to frozen is deletion, unintended data loss could occur.**&lt;/P&gt;

&lt;P&gt;So data will be deleted if maxTotalDataSizeMB is reached even though events are not older than frozenTimePeriodInSecs.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 07:52:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-past-data-is-missing-even-if-date-range-is-inside-my/m-p/488906#M136556</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-03-09T07:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Why past data is missing even if date range is inside my retention policy of that index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-past-data-is-missing-even-if-date-range-is-inside-my/m-p/488907#M136557</link>
      <description>&lt;P&gt;Thanks for suggestion @gcusello &lt;BR /&gt;
Everything looks fine by that also.&lt;BR /&gt;
Still cant solve the issue.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 08:57:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-past-data-is-missing-even-if-date-range-is-inside-my/m-p/488907#M136557</guid>
      <dc:creator>muizash</dc:creator>
      <dc:date>2020-03-09T08:57:08Z</dc:date>
    </item>
  </channel>
</rss>

