<?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: frozenTimePeriodInSecs only takes effect on IDX restart in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/frozenTimePeriodInSecs-only-takes-effect-on-IDX-restart/m-p/742367#M21931</link>
    <description>&lt;P&gt;As an addition to what &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt; already said, see the .conf presentation &lt;A href="https://conf.splunk.com/files/2017/slides/splunk-data-life-cycle-determining-when-and-where-to-roll-data.pdf" target="_blank" rel="noopener"&gt;https://conf.splunk.com/files/2017/slides/splunk-data-life-cycle-determining-when-and-where-to-roll-data.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;frozenTimePeriodInSecs only affects cold buckets. So a bucket has to first reach this stage in its life cycle. And hot buckets are rolled on a completely different basis than time-based retention limit.&lt;/P&gt;&lt;P&gt;That's it.&lt;/P&gt;&lt;P&gt;That's also why the usual questions like "how to make sure we have 2 days of hot buckets, a week of warm buckets and two months of cold buckets" get the response of "you can't do it this way".&lt;/P&gt;</description>
    <pubDate>Thu, 20 Mar 2025 21:00:53 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2025-03-20T21:00:53Z</dc:date>
    <item>
      <title>frozenTimePeriodInSecs only takes effect on IDX restart</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/frozenTimePeriodInSecs-only-takes-effect-on-IDX-restart/m-p/742295#M21912</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have defined a frozenTimePeriodInSecs for 1 hour on my IDX for a certain index, so that the logs it contains are only kept for 1 hour.&lt;BR /&gt;The definition of the frozenTimePeriodInSecs was made in the indexes.conf in the system/local directory&lt;BR /&gt;The problem I have, however, is that the frozenTimePeriodInSecs config only takes effect once when the IDX is restarted. Otherwise, the logs remain in this index for the defined retention period.&lt;/P&gt;&lt;P&gt;Has anyone already had the same problem and can help me with this?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 09:29:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/frozenTimePeriodInSecs-only-takes-effect-on-IDX-restart/m-p/742295#M21912</guid>
      <dc:creator>MrLR_02</dc:creator>
      <dc:date>2025-03-20T09:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: frozenTimePeriodInSecs only takes effect on IDX restart</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/frozenTimePeriodInSecs-only-takes-effect-on-IDX-restart/m-p/742299#M21913</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/248317"&gt;@MrLR_02&lt;/a&gt;&amp;nbsp;, the 1-hourfrozenTimePeriodInSecs&amp;nbsp;will not affect buckets which are "hot" - ie they are actively open and being written to. If your buckets aren’t rolling from &lt;STRONG&gt;hot → warm → cold&lt;/STRONG&gt;&amp;nbsp;within an hour, retention will appear longer. The reason a restart causes them to roll to frozen is that the indexer closes the hot bucket when it restarts and thus becomes warm, and can then be frozen out.&lt;/P&gt;&lt;P&gt;To enforce deletion &lt;STRONG&gt;1 hour after ingestion&lt;/STRONG&gt;, you may need to review some of the following settings, ive included some examples below:&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;Force hot buckets to roll faster&lt;/STRONG&gt; by setting:&lt;BR /&gt;Its worth understanding these and configuring as required - check&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Indexesconf#:~:text=maxHotSpanSecs%20%3D%20%3Cpositive%20integer%3E" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Indexesconf#:~:text=maxHotSpanSecs%20%3D%20%3Cpositive%20integer%3E &lt;/A&gt;for more info.&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;LI-CODE lang="markup"&gt;[your_index]
maxHotSpanSecs = 3600 # Hot bucket rolls to warm after 1h
maxHotIdleSecs = 60 # Rolls if idle for 1min
maxDataSize = auto_high_volume # Or lower to cap hot-bucket size&lt;/LI-CODE&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;These ensure hot buckets roll to warm&amp;nbsp;&lt;STRONG&gt;based on time&lt;/STRONG&gt;, not just size.&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Please let me know how you get on and consider adding karma to this or any other answer if it has helped.&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Will&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 09:52:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/frozenTimePeriodInSecs-only-takes-effect-on-IDX-restart/m-p/742299#M21913</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-03-20T09:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: frozenTimePeriodInSecs only takes effect on IDX restart</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/frozenTimePeriodInSecs-only-takes-effect-on-IDX-restart/m-p/742306#M21914</link>
      <description>&lt;P class="lia-align-left"&gt;Would these settings also have to be made if I set the retention period for this index to 1 day or possibly 1 week?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 10:19:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/frozenTimePeriodInSecs-only-takes-effect-on-IDX-restart/m-p/742306#M21914</guid>
      <dc:creator>MrLR_02</dc:creator>
      <dc:date>2025-03-20T10:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: frozenTimePeriodInSecs only takes effect on IDX restart</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/frozenTimePeriodInSecs-only-takes-effect-on-IDX-restart/m-p/742367#M21931</link>
      <description>&lt;P&gt;As an addition to what &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt; already said, see the .conf presentation &lt;A href="https://conf.splunk.com/files/2017/slides/splunk-data-life-cycle-determining-when-and-where-to-roll-data.pdf" target="_blank" rel="noopener"&gt;https://conf.splunk.com/files/2017/slides/splunk-data-life-cycle-determining-when-and-where-to-roll-data.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;frozenTimePeriodInSecs only affects cold buckets. So a bucket has to first reach this stage in its life cycle. And hot buckets are rolled on a completely different basis than time-based retention limit.&lt;/P&gt;&lt;P&gt;That's it.&lt;/P&gt;&lt;P&gt;That's also why the usual questions like "how to make sure we have 2 days of hot buckets, a week of warm buckets and two months of cold buckets" get the response of "you can't do it this way".&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 21:00:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/frozenTimePeriodInSecs-only-takes-effect-on-IDX-restart/m-p/742367#M21931</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-03-20T21:00:53Z</dc:date>
    </item>
  </channel>
</rss>

