<?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 How to set the bucket retention policy for 2 months before automatically deleting the data? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-set-the-bucket-retention-policy-for-2-months-before/m-p/141793#M5313</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'd like to set the Bucket time to keep data for 2 months and then to automatically remove it.&lt;/P&gt;

&lt;P&gt;how do I do it ?&lt;/P&gt;</description>
    <pubDate>Sun, 12 Apr 2015 14:39:34 GMT</pubDate>
    <dc:creator>sbenamro</dc:creator>
    <dc:date>2015-04-12T14:39:34Z</dc:date>
    <item>
      <title>How to set the bucket retention policy for 2 months before automatically deleting the data?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-set-the-bucket-retention-policy-for-2-months-before/m-p/141793#M5313</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'd like to set the Bucket time to keep data for 2 months and then to automatically remove it.&lt;/P&gt;

&lt;P&gt;how do I do it ?&lt;/P&gt;</description>
      <pubDate>Sun, 12 Apr 2015 14:39:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-set-the-bucket-retention-policy-for-2-months-before/m-p/141793#M5313</guid>
      <dc:creator>sbenamro</dc:creator>
      <dc:date>2015-04-12T14:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the bucket retention policy for 2 months before automatically deleting the data?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-set-the-bucket-retention-policy-for-2-months-before/m-p/141794#M5314</link>
      <description>&lt;P&gt;The key settings for short retention times are these two indexes.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;frozenTimePeriodInSecs = &amp;lt;nonnegative integer&amp;gt;
maxHotSpanSecs = &amp;lt;positive integer&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The first setting defaults to six years, you'll want to set that to two months so 5270400 (61 days) or however long your months are in seconds. The second setting defaults to 90 days, which is great for six years of retention but not great for two months. A bucket is removed when its youngest event crosses the &lt;CODE&gt;frozenTimePeriodInSecs&lt;/CODE&gt;, so you would effectively wait five months. Set this to a week or so to actually remove your data close to those two months.&lt;/P&gt;

&lt;P&gt;See &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.2/admin/indexesconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.2/admin/indexesconf&lt;/A&gt; for reference.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Apr 2015 16:52:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-set-the-bucket-retention-policy-for-2-months-before/m-p/141794#M5314</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-04-12T16:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the bucket retention policy for 2 months before automatically deleting the data?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-set-the-bucket-retention-policy-for-2-months-before/m-p/141795#M5315</link>
      <description>&lt;P&gt;thanks for the answer but under which section should I change it ?&lt;BR /&gt;
I have for example - [_internal] or [default]&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2015 07:57:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-set-the-bucket-retention-policy-for-2-months-before/m-p/141795#M5315</guid>
      <dc:creator>sbenamro</dc:creator>
      <dc:date>2015-04-13T07:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the bucket retention policy for 2 months before automatically deleting the data?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-set-the-bucket-retention-policy-for-2-months-before/m-p/141796#M5316</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Here is an example to show you how to set it:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
maxWarmDBCount = 200
frozenTimePeriodInSecs = 432000
rotatePeriodInSecs = 30
coldToFrozenScript = "$SPLUNK_HOME/bin/python"
"$SPLUNK_HOME/bin/myColdToFrozenScript.py"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I don't advice you to set this attribut: &lt;STRONG&gt;maxHotSpanSecs&lt;/STRONG&gt; &lt;BR /&gt;
By defaults it's set to 7776000 seconds (90 days).&lt;BR /&gt;
NOTE: If you set this too small, you can get an explosion of hot/warm&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2015 08:32:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-set-the-bucket-retention-policy-for-2-months-before/m-p/141796#M5316</guid>
      <dc:creator>NOUMSSI</dc:creator>
      <dc:date>2015-04-13T08:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the bucket retention policy for 2 months before automatically deleting the data?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-set-the-bucket-retention-policy-for-2-months-before/m-p/141797#M5317</link>
      <description>&lt;P&gt;You should set this for the index you want to modify in the local directory of that index' app, or in system/local if the index is defined in system. Do not modify .conf files in any default directory.&lt;BR /&gt;
Which index are you trying to modify?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2015 11:31:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-set-the-bucket-retention-policy-for-2-months-before/m-p/141797#M5317</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-04-13T11:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the bucket retention policy for 2 months before automatically deleting the data?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-set-the-bucket-retention-policy-for-2-months-before/m-p/141798#M5318</link>
      <description>&lt;P&gt;Thanks for your help.&lt;BR /&gt;
I'm using only the file over the local folder.&lt;BR /&gt;
yet - I've noticed that I have "maxHotSpanSecs " in several places in that file, which are [default] and [_internal]&lt;/P&gt;

&lt;P&gt;and I've noticed that "frozenTimePeriodInSecs " exist in several places as well which are - [default] and [_blocksignature] and [_internal] and [_introspection] and [_thefishbucket] and [history] &lt;/P&gt;

&lt;P&gt;so where should I change it ?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:31:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-set-the-bucket-retention-policy-for-2-months-before/m-p/141798#M5318</guid>
      <dc:creator>sbenamro</dc:creator>
      <dc:date>2020-09-28T19:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the bucket retention policy for 2 months before automatically deleting the data?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-set-the-bucket-retention-policy-for-2-months-before/m-p/141799#M5319</link>
      <description>&lt;P&gt;Every settings exists once for every index, the one under &lt;CODE&gt;[_internal]&lt;/CODE&gt; applies to the &lt;CODE&gt;_internal&lt;/CODE&gt; index while the one under &lt;CODE&gt;[default]&lt;/CODE&gt; applies to all indexes that don't set their own value. You should modify the settings for the indexes you want to modify.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2015 10:06:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-set-the-bucket-retention-policy-for-2-months-before/m-p/141799#M5319</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-04-14T10:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the bucket retention policy for 2 months before automatically deleting the data?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-set-the-bucket-retention-policy-for-2-months-before/m-p/141800#M5320</link>
      <description>&lt;P&gt;thanks for your help ! much appreciated.&lt;BR /&gt;
one last question - what is the _blocksignature ? &lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2015 11:08:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-set-the-bucket-retention-policy-for-2-months-before/m-p/141800#M5320</guid>
      <dc:creator>sbenamro</dc:creator>
      <dc:date>2015-04-14T11:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the bucket retention policy for 2 months before automatically deleting the data?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-set-the-bucket-retention-policy-for-2-months-before/m-p/141801#M5321</link>
      <description>&lt;P&gt;That's an internal space Splunk uses to store block signatures. Normally you do not change the configuration for it.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2015 11:15:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-set-the-bucket-retention-policy-for-2-months-before/m-p/141801#M5321</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-04-14T11:15:19Z</dc:date>
    </item>
  </channel>
</rss>

