<?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: Bucket retention and freezeTimePeriodInSec not working in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Bucket-retention-and-freezeTimePeriodInSec-not-working/m-p/427192#M74862</link>
    <description>&lt;P&gt;Hi @jadengoho,&lt;/P&gt;

&lt;P&gt;It looks like you have timestamp issue or you are ingesting very old logs into Splunk and due to that Splunk is creating multiple hot buckets.&lt;/P&gt;

&lt;P&gt;And based on my knowledge those buckets will roll from Hot to Warm when &lt;CODE&gt;maxDataSize&lt;/CODE&gt; or &lt;CODE&gt;maxHotSpanSecs&lt;/CODE&gt; whichever hit first and when you have more than 10 hot buckets based on your configuration (which means when 11th hot bucket will create, oldest hot bucket will roll from hot to warm), if you do not hit 10 hot buckets in that case bucket will only roll when splunk will restart or &lt;CODE&gt;maxDataSize&lt;/CODE&gt; or &lt;CODE&gt;maxHotSpanSecs&lt;/CODE&gt; whichever hit first.&lt;/P&gt;

&lt;P&gt;In your case it looks like bucket with ID 134 created but didn't hit &lt;CODE&gt;maxDataSize&lt;/CODE&gt; or &lt;CODE&gt;maxHotSpanSecs&lt;/CODE&gt; and this bucket will only roll when you will restart splunk or more data will be ingested in this bucket &amp;amp; when it reaches &lt;CODE&gt;maxDataSize&lt;/CODE&gt; or &lt;CODE&gt;maxHotSpanSecs&lt;/CODE&gt;, if you do not restart splunk or bucket will not reach &lt;CODE&gt;maxDataSize&lt;/CODE&gt; or &lt;CODE&gt;maxHotSpanSecs&lt;/CODE&gt; in that case it will sit as Idle hot bucket and by default  &lt;CODE&gt;maxHotIdleSecs&lt;/CODE&gt; setting is 0 which means infinite time (A value of 0 turns off the idle check). In this case either you need to fix timestamp issue if you have timestamp recognition problem on splunk or if timestamp recognition is correct but data is very old then you can set &lt;CODE&gt;maxHotIdleSecs&lt;/CODE&gt; to few days (For example : 7 or 14 days) and after this days if hot bucket will not receive any events then it will roll from hot to warm. Once this bucket with ID 134 will convert from hot to warm it will immediately remove because it already reached &lt;CODE&gt;frozenTimePeriodInSecs&lt;/CODE&gt; .&lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2019 12:55:23 GMT</pubDate>
    <dc:creator>harsmarvania57</dc:creator>
    <dc:date>2019-03-11T12:55:23Z</dc:date>
    <item>
      <title>Bucket retention and freezeTimePeriodInSec not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Bucket-retention-and-freezeTimePeriodInSec-not-working/m-p/427191#M74861</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;
I have this issue on our indexes- it seems frozenTimePeriodInSecs and maxHotSpanSecs is not working&lt;BR /&gt;
Buckets are over the frozenTimePeriodInSecs  but still on hot buckets.&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6655i0B29DD4CBEAA6737/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6656iD6B02BEFBB4EE3EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  [skype]
    coldPath = volume:cold/skype/colddb
    coldPath.maxDataSizeMB = 400000
    coldToFrozenDir = $SPLUNK_HOME/frozen/skype
    frozenTimePeriodInSecs = 8035200
    homePath = volume:primary/skype/db
    homePath.maxDataSizeMB = 400000
    maxDataSize = auto_high_volume
    maxHotBuckets = 10
    maxHotSpanSecs = 7776000
    maxTotalDataSizeMB = 400000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 03:04:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Bucket-retention-and-freezeTimePeriodInSec-not-working/m-p/427191#M74861</guid>
      <dc:creator>jadengoho</dc:creator>
      <dc:date>2019-03-11T03:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Bucket retention and freezeTimePeriodInSec not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Bucket-retention-and-freezeTimePeriodInSec-not-working/m-p/427192#M74862</link>
      <description>&lt;P&gt;Hi @jadengoho,&lt;/P&gt;

&lt;P&gt;It looks like you have timestamp issue or you are ingesting very old logs into Splunk and due to that Splunk is creating multiple hot buckets.&lt;/P&gt;

&lt;P&gt;And based on my knowledge those buckets will roll from Hot to Warm when &lt;CODE&gt;maxDataSize&lt;/CODE&gt; or &lt;CODE&gt;maxHotSpanSecs&lt;/CODE&gt; whichever hit first and when you have more than 10 hot buckets based on your configuration (which means when 11th hot bucket will create, oldest hot bucket will roll from hot to warm), if you do not hit 10 hot buckets in that case bucket will only roll when splunk will restart or &lt;CODE&gt;maxDataSize&lt;/CODE&gt; or &lt;CODE&gt;maxHotSpanSecs&lt;/CODE&gt; whichever hit first.&lt;/P&gt;

&lt;P&gt;In your case it looks like bucket with ID 134 created but didn't hit &lt;CODE&gt;maxDataSize&lt;/CODE&gt; or &lt;CODE&gt;maxHotSpanSecs&lt;/CODE&gt; and this bucket will only roll when you will restart splunk or more data will be ingested in this bucket &amp;amp; when it reaches &lt;CODE&gt;maxDataSize&lt;/CODE&gt; or &lt;CODE&gt;maxHotSpanSecs&lt;/CODE&gt;, if you do not restart splunk or bucket will not reach &lt;CODE&gt;maxDataSize&lt;/CODE&gt; or &lt;CODE&gt;maxHotSpanSecs&lt;/CODE&gt; in that case it will sit as Idle hot bucket and by default  &lt;CODE&gt;maxHotIdleSecs&lt;/CODE&gt; setting is 0 which means infinite time (A value of 0 turns off the idle check). In this case either you need to fix timestamp issue if you have timestamp recognition problem on splunk or if timestamp recognition is correct but data is very old then you can set &lt;CODE&gt;maxHotIdleSecs&lt;/CODE&gt; to few days (For example : 7 or 14 days) and after this days if hot bucket will not receive any events then it will roll from hot to warm. Once this bucket with ID 134 will convert from hot to warm it will immediately remove because it already reached &lt;CODE&gt;frozenTimePeriodInSecs&lt;/CODE&gt; .&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 12:55:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Bucket-retention-and-freezeTimePeriodInSec-not-working/m-p/427192#M74862</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-03-11T12:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Bucket retention and freezeTimePeriodInSec not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Bucket-retention-and-freezeTimePeriodInSec-not-working/m-p/427193#M74863</link>
      <description>&lt;P&gt;Thanks for this:&lt;BR /&gt;
I do restart he indexers and do a rolling restart and after that, some of the buckets are rolled and others are being frozen. &lt;BR /&gt;
Yes, we are still facing a timespan issue due to logs are hard to understand.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 00:37:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Bucket-retention-and-freezeTimePeriodInSec-not-working/m-p/427193#M74863</guid>
      <dc:creator>jadengoho</dc:creator>
      <dc:date>2019-03-12T00:37:06Z</dc:date>
    </item>
  </channel>
</rss>

