<?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: Settings for 1year retention period in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Settings-for-1year-retention-period/m-p/750686#M29621</link>
    <description>&lt;P&gt;You say you found no warm buckets, but what about cold buckets?&amp;nbsp; Did you find any of those?&lt;/P&gt;&lt;P&gt;If you're not running out of disk space then&amp;nbsp;maxVolumeDataSizeMB is not too high.&lt;/P&gt;&lt;P&gt;The current settings have buckets spanning 90 days.&amp;nbsp; Therefore, you should have 5 "generations" of buckets - 0-90 days (hot), 91-180 days, 181-270 days, 271-360 days, and 361-450 days.&amp;nbsp; That last one is because a bucket won't be frozen until *all* events in it exceed the retention time.&lt;/P&gt;&lt;P&gt;Set&amp;nbsp;maxHotSpanSecs to 86400 so each bucket only contains a single day of data and retention should improve.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jul 2025 21:05:04 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2025-07-29T21:05:04Z</dc:date>
    <item>
      <title>Settings for 1year retention period</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Settings-for-1year-retention-period/m-p/750677#M29619</link>
      <description>&lt;P&gt;I have this small Splunk Enterprise deployment in a lab that's air gapped.&lt;/P&gt;&lt;P&gt;So I setup this deployment about 18 months ago. Recently I noticed, I am not rolling any data. I want to set retention period of 1 year for all the data. After checking the configuration, looks like I have # of Hot buckets set to auto (which is 3 by default, I assume) but I don't find any Warm buckets. So, everything is in Hot buckets. I am looking at few settings maxHotSpanSecs, frozenTimePeriodInSecs and maxVolumeDataSizeMB, that should roll data to warm and then cold buckets eventually.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Under /opt/splunk/etc/system/local/indexes.conf&lt;BR /&gt;maxHotSpanSecs is set to 7776000&lt;BR /&gt;frozenTimePeriodInSecs 31536000&lt;BR /&gt;maxVolumeDataSizeMB (not set)&lt;/P&gt;&lt;P&gt;Under /opt/splunk/etc/apps/search/indexs.conf&lt;BR /&gt;maxHotSpanSecs not set&lt;BR /&gt;frozenTimePeriodInSecs 31536000 (for all the indexes)&lt;BR /&gt;maxVolumeDataSizeMB (not set)&lt;/P&gt;&lt;P&gt;Shouldn't frozenTimePeriodInSecs take precedent?&lt;/P&gt;&lt;P&gt;Maybe, my maxVolumeDataSizeMB is set to too high. Do I need to change it? How do frozenTimePeriodInSecs and maxVolumeDataSizeMB affect each other? I thought frozenTimePeriodInSecs would override maxVolumeDataSizeMB&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 19:54:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Settings-for-1year-retention-period/m-p/750677#M29619</guid>
      <dc:creator>jkamdar</dc:creator>
      <dc:date>2025-07-29T19:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Settings for 1year retention period</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Settings-for-1year-retention-period/m-p/750685#M29620</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/135271"&gt;@jkamdar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Due to having things defined in different places here, it might be best to run a btool to the exact configuration (including default values)&lt;/P&gt;&lt;P&gt;Please could you run:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$SPLUNK_HOME/bin/splunk cmd btool indexes list --debug &amp;lt;yourIndexName&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;When you talk about buckets "not rolling" - do you mean from Hot-&amp;gt;Warm, or Cold-&amp;gt;Frozen?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 21:02:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Settings-for-1year-retention-period/m-p/750685#M29620</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-07-29T21:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Settings for 1year retention period</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Settings-for-1year-retention-period/m-p/750686#M29621</link>
      <description>&lt;P&gt;You say you found no warm buckets, but what about cold buckets?&amp;nbsp; Did you find any of those?&lt;/P&gt;&lt;P&gt;If you're not running out of disk space then&amp;nbsp;maxVolumeDataSizeMB is not too high.&lt;/P&gt;&lt;P&gt;The current settings have buckets spanning 90 days.&amp;nbsp; Therefore, you should have 5 "generations" of buckets - 0-90 days (hot), 91-180 days, 181-270 days, 271-360 days, and 361-450 days.&amp;nbsp; That last one is because a bucket won't be frozen until *all* events in it exceed the retention time.&lt;/P&gt;&lt;P&gt;Set&amp;nbsp;maxHotSpanSecs to 86400 so each bucket only contains a single day of data and retention should improve.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 21:05:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Settings-for-1year-retention-period/m-p/750686#M29621</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2025-07-29T21:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Settings for 1year retention period</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Settings-for-1year-retention-period/m-p/750752#M29622</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;both suggestions are helpful. I was able to use btool to find what indexes.conf each index is using and then I did change&amp;nbsp; maxHotSpanSecs to the suggested # and I see more warm buckets. If this going to trigger data deletion that's over an year old, that's great, I will wait and see.&lt;/P&gt;&lt;P&gt;However, regardless what was set for maxHotSpanSecs, shouldn't&amp;nbsp;&lt;SPAN&gt;frozenTimePeriodInSecs have triggered the expiration of data and delete? O&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I sure am not clear how maxHotSpanSecs and&amp;nbsp;frozenTimePeriodInSecs work together and affects the retention period. If one can explain, it would be great.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 17:02:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Settings-for-1year-retention-period/m-p/750752#M29622</guid>
      <dc:creator>jkamdar</dc:creator>
      <dc:date>2025-07-30T17:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Settings for 1year retention period</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Settings-for-1year-retention-period/m-p/750753#M29623</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;frozenTimePeriodInSecs&lt;/FONT&gt; setting does not apply to hot buckets.&amp;nbsp; You should, however, see warm buckets once a hot bucket fills up or becomes 90 days old.&amp;nbsp; I can't explain why you don't.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 18:10:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Settings-for-1year-retention-period/m-p/750753#M29623</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2025-07-30T18:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Settings for 1year retention period</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Settings-for-1year-retention-period/m-p/751116#M29645</link>
      <description>&lt;P&gt;Ok, I have set&amp;nbsp;&lt;SPAN class=""&gt;maxHotSpanSecs 86400&lt;/SPAN&gt;. I am seeing lots of warm buckets now. With and&amp;nbsp;&lt;SPAN&gt;frozenTimePeriodInSecs 31536000, I think, I am seeing results that I was hoping for.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Also, with the below search, I am seeing data being rolled to frozen as well.&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;EM&gt;index=_internal sourcetype=splunkd log_level=INFO component=BucketMover "freeze succeeded"&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 18:17:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Settings-for-1year-retention-period/m-p/751116#M29645</guid>
      <dc:creator>jkamdar</dc:creator>
      <dc:date>2025-08-06T18:17:17Z</dc:date>
    </item>
  </channel>
</rss>

