<?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: _internal index data not archiving/deleting after 30 days. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/internal-index-data-not-archiving-deleting-after-30-days/m-p/308276#M58054</link>
    <description>&lt;P&gt;check out the &lt;CODE&gt;| dbinspect&lt;/CODE&gt; command to examine the buckets in the index. As Teunlaan commented, Splunk will only freeze a bucket once the LATEST event eclipses the frozenTimeInSecs. &lt;/P&gt;

&lt;P&gt;You can use &lt;CODE&gt;dbinspect&lt;/CODE&gt; and a little eval magic to convert the earliest and latest event time to confirm the timespan your buckets cover.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/112500/dbinspect-fields-names-and-format-changed-in-6.html"&gt;https://answers.splunk.com/answers/112500/dbinspect-fields-names-and-format-changed-in-6.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If you have low traffic on the box, you will need to tweak indexes.conf for your _internal indexes to set &lt;CODE&gt;maxHotSpanSecs&lt;/CODE&gt; to something like 86401, to roll it every day, or  604801 to force the bucket to close after 1 week.&lt;/P&gt;

&lt;P&gt;Also, if somehow you have future timestamps, this can cause problems with rolling.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Aug 2017 10:37:36 GMT</pubDate>
    <dc:creator>mattymo</dc:creator>
    <dc:date>2017-08-29T10:37:36Z</dc:date>
    <item>
      <title>_internal index data not archiving/deleting after 30 days.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/internal-index-data-not-archiving-deleting-after-30-days/m-p/308274#M58052</link>
      <description>&lt;P&gt;Hi guys, &lt;/P&gt;

&lt;P&gt;I was wondering if anyone knows why my _internal index information is not archiving/deleting from frozen after 30 days&lt;/P&gt;

&lt;P&gt;It wont let me attach a screenshot but in the DMC it shows that the "Data Age vs Frozen Data (days)" is 103/30... Which isn't right! &lt;/P&gt;

&lt;P&gt;I can see that the value of frozenTimePeriodInSecs in system/default/indexes.conf is 2592000 (30 days) and using btool shows that the value is being taken but I don't know why it isn't working? Any ideas? &lt;/P&gt;

&lt;P&gt;I was thinking of making a new app for config and change it to 31 days to see if it changes anything? Does anyone think this would work? I'm in a clustered environment so I'm a bit worried to make any changes in case it makes it worse! &lt;/P&gt;

&lt;P&gt;Any help will be appreciated. &lt;/P&gt;

&lt;P&gt;Cheers! &lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2017 10:18:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/internal-index-data-not-archiving-deleting-after-30-days/m-p/308274#M58052</guid>
      <dc:creator>Robbie1194</dc:creator>
      <dc:date>2017-08-29T10:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: _internal index data not archiving/deleting after 30 days.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/internal-index-data-not-archiving-deleting-after-30-days/m-p/308275#M58053</link>
      <description>&lt;P&gt;What is your bucket size?&lt;BR /&gt;
It will only delete data if the last message in your bucket is older than 30 day's&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2017 10:25:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/internal-index-data-not-archiving-deleting-after-30-days/m-p/308275#M58053</guid>
      <dc:creator>teunlaan</dc:creator>
      <dc:date>2017-08-29T10:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: _internal index data not archiving/deleting after 30 days.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/internal-index-data-not-archiving-deleting-after-30-days/m-p/308276#M58054</link>
      <description>&lt;P&gt;check out the &lt;CODE&gt;| dbinspect&lt;/CODE&gt; command to examine the buckets in the index. As Teunlaan commented, Splunk will only freeze a bucket once the LATEST event eclipses the frozenTimeInSecs. &lt;/P&gt;

&lt;P&gt;You can use &lt;CODE&gt;dbinspect&lt;/CODE&gt; and a little eval magic to convert the earliest and latest event time to confirm the timespan your buckets cover.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/112500/dbinspect-fields-names-and-format-changed-in-6.html"&gt;https://answers.splunk.com/answers/112500/dbinspect-fields-names-and-format-changed-in-6.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If you have low traffic on the box, you will need to tweak indexes.conf for your _internal indexes to set &lt;CODE&gt;maxHotSpanSecs&lt;/CODE&gt; to something like 86401, to roll it every day, or  604801 to force the bucket to close after 1 week.&lt;/P&gt;

&lt;P&gt;Also, if somehow you have future timestamps, this can cause problems with rolling.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2017 10:37:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/internal-index-data-not-archiving-deleting-after-30-days/m-p/308276#M58054</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-08-29T10:37:36Z</dc:date>
    </item>
  </channel>
</rss>

