<?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 Why frozenTimePeriodInSecs does not take effect? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-frozenTimePeriodInSecs-does-not-take-effect/m-p/653898#M9746</link>
    <description>&lt;P&gt;Hi everyone&lt;/P&gt;
&lt;P&gt;I got a question on the frozenTimePeriodInSecs parameter. Here are my settings inside the indexes.conf file:&lt;/P&gt;
&lt;P&gt;/opt/splunk/etc/system/local/indexes.conf&lt;/P&gt;
&lt;P&gt;[_internal]&lt;BR /&gt;frozenTimePeriodInSecs = 864000 # Data retention set to 10 days.&lt;BR /&gt;maxTotalDataSizeMB = 750&lt;/P&gt;
&lt;P&gt;[_audit]&lt;BR /&gt;frozenTimePeriodInSecs = 864000 # Data retention set to 10 days.&lt;BR /&gt;maxTotalDataSizeMB = 750&lt;BR /&gt;&lt;BR /&gt;What I would expect is, that buckets in _internal and _audit where all events are older than 10 days get deleted. However, this is not the case. Anyone knows why? On the other hand, maxTotalDataSizeMB does work as expected.&lt;BR /&gt;&lt;BR /&gt;I have checked a couple places for hints why frozenTimePeriodInSecs does not work. The results of those checks are further down below as screenshots.&lt;/P&gt;
&lt;P&gt;- buckets: Whether there are buckets that contain only events older than 10 days.&lt;BR /&gt;- btools: Whether the settings are actually taken into account.&lt;BR /&gt;- monitoring console: Whether the settings are actually taken into account.&lt;BR /&gt;- _internal logs: Check whether there are freeze events occuring. They only appear for&amp;nbsp;maxTotalDataSizeMB.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_audit Buckets" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26735i1E6B44B781863831/image-size/large?v=v2&amp;amp;px=999" role="button" title="Buckets_in_audit_index.PNG" alt="_audit Buckets" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;_audit Buckets&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_audit btool output" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26738i8A03C21AB7295434/image-size/large?v=v2&amp;amp;px=999" role="button" title="btool_output.PNG" alt="_audit btool output" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;_audit btool output&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="monitoring console 1" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26736iAD59BE8D5AD743DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="monitoring_console_settings.PNG" alt="monitoring console 1" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;monitoring console 1&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="monitoring console 2" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26737iB96292BD19AB7DAC/image-size/large?v=v2&amp;amp;px=999" role="button" title="monitoring_console_data_age_vs_frozen_age.PNG" alt="monitoring console 2" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;monitoring console 2&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="freeze events" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26739iEDCCD8F9150053B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Freeze_events.PNG" alt="freeze events" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;freeze events&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Aug 2023 21:54:27 GMT</pubDate>
    <dc:creator>Gabriel</dc:creator>
    <dc:date>2023-08-10T21:54:27Z</dc:date>
    <item>
      <title>Why frozenTimePeriodInSecs does not take effect?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-frozenTimePeriodInSecs-does-not-take-effect/m-p/653898#M9746</link>
      <description>&lt;P&gt;Hi everyone&lt;/P&gt;
&lt;P&gt;I got a question on the frozenTimePeriodInSecs parameter. Here are my settings inside the indexes.conf file:&lt;/P&gt;
&lt;P&gt;/opt/splunk/etc/system/local/indexes.conf&lt;/P&gt;
&lt;P&gt;[_internal]&lt;BR /&gt;frozenTimePeriodInSecs = 864000 # Data retention set to 10 days.&lt;BR /&gt;maxTotalDataSizeMB = 750&lt;/P&gt;
&lt;P&gt;[_audit]&lt;BR /&gt;frozenTimePeriodInSecs = 864000 # Data retention set to 10 days.&lt;BR /&gt;maxTotalDataSizeMB = 750&lt;BR /&gt;&lt;BR /&gt;What I would expect is, that buckets in _internal and _audit where all events are older than 10 days get deleted. However, this is not the case. Anyone knows why? On the other hand, maxTotalDataSizeMB does work as expected.&lt;BR /&gt;&lt;BR /&gt;I have checked a couple places for hints why frozenTimePeriodInSecs does not work. The results of those checks are further down below as screenshots.&lt;/P&gt;
&lt;P&gt;- buckets: Whether there are buckets that contain only events older than 10 days.&lt;BR /&gt;- btools: Whether the settings are actually taken into account.&lt;BR /&gt;- monitoring console: Whether the settings are actually taken into account.&lt;BR /&gt;- _internal logs: Check whether there are freeze events occuring. They only appear for&amp;nbsp;maxTotalDataSizeMB.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_audit Buckets" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26735i1E6B44B781863831/image-size/large?v=v2&amp;amp;px=999" role="button" title="Buckets_in_audit_index.PNG" alt="_audit Buckets" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;_audit Buckets&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_audit btool output" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26738i8A03C21AB7295434/image-size/large?v=v2&amp;amp;px=999" role="button" title="btool_output.PNG" alt="_audit btool output" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;_audit btool output&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="monitoring console 1" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26736iAD59BE8D5AD743DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="monitoring_console_settings.PNG" alt="monitoring console 1" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;monitoring console 1&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="monitoring console 2" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26737iB96292BD19AB7DAC/image-size/large?v=v2&amp;amp;px=999" role="button" title="monitoring_console_data_age_vs_frozen_age.PNG" alt="monitoring console 2" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;monitoring console 2&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="freeze events" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26739iEDCCD8F9150053B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Freeze_events.PNG" alt="freeze events" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;freeze events&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 21:54:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-frozenTimePeriodInSecs-does-not-take-effect/m-p/653898#M9746</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2023-08-10T21:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: frozenTimePeriodInSecs does not take effect</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-frozenTimePeriodInSecs-does-not-take-effect/m-p/653906#M9747</link>
      <description>&lt;P&gt;Normally it _should_ work.&lt;/P&gt;&lt;P&gt;The question is how you configured those retention parameters - webui/files/rest? If you did it with conf files, did you reload the daemon? While btool shows the contents of files on disk, you might want to check the runtime config from splunkd memory&lt;/P&gt;&lt;PRE&gt;splunk show config indexes&lt;/PRE&gt;&lt;P&gt;and check if it's the same as what btool reports.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 10:42:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-frozenTimePeriodInSecs-does-not-take-effect/m-p/653906#M9747</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-08-10T10:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: frozenTimePeriodInSecs does not take effect</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-frozenTimePeriodInSecs-does-not-take-effect/m-p/653908#M9748</link>
      <description>&lt;P&gt;Hi Rick &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I edited the indexes.conf file by hand on the server, then restarted splunk. Running the command you suggested also shows that frozenTimePeriodInSecs is equivalent to what btool reports and is active in the runtime:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="runtime config" style="width: 527px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26740i307AF942E28083ED/image-dimensions/527x360?v=v2" width="527" height="360" role="button" title="runtime_config.PNG" alt="runtime config" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;runtime config&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 10:51:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-frozenTimePeriodInSecs-does-not-take-effect/m-p/653908#M9748</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2023-08-10T10:51:31Z</dc:date>
    </item>
  </channel>
</rss>

