<?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: limit number of days of index data kept in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/limit-number-of-days-of-index-data-kept/m-p/174331#M23323</link>
    <description>&lt;P&gt;Hi yannk, thanks for the answer - very useful and I think I have a handle on it now in terms of the various states. I just have one more question - if we were to set maxTotalDataSizeMB and frozenTimePeriodInSecs to ensure that we don't keep too much data in active indexes, but due to the default settings within indexes.conf meant that data had not moved from WARM to COLD would that data be moved from WARM to FROZEN directly?&lt;/P&gt;</description>
    <pubDate>Fri, 08 May 2015 10:10:22 GMT</pubDate>
    <dc:creator>john_howley</dc:creator>
    <dc:date>2015-05-08T10:10:22Z</dc:date>
    <item>
      <title>limit number of days of index data kept</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/limit-number-of-days-of-index-data-kept/m-p/174329#M23321</link>
      <description>&lt;P&gt;Can I automatically set a limit that keeps only say the last month of indexed data for example with nmon data. Or do I just delete the directories directly in the filesystem?&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2015 14:43:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/limit-number-of-days-of-index-data-kept/m-p/174329#M23321</guid>
      <dc:creator>john_howley</dc:creator>
      <dc:date>2015-05-07T14:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: limit number of days of index data kept</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/limit-number-of-days-of-index-data-kept/m-p/174330#M23322</link>
      <description>&lt;P&gt;Read indexes.conf specifications. You will need to edit a config file.&lt;BR /&gt;
see &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.3/Indexer/Setaretirementandarchivingpolicy"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.3/Indexer/Setaretirementandarchivingpolicy&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;setup a ** frozenTimePeriodInSecs** to be the day limit. (default 6 years)&lt;/P&gt;

&lt;P&gt;and if you retention is very low (less than  months) , you may also want to reduce the &lt;STRONG&gt;maxHotSpanSecs&lt;/STRONG&gt; (maximum hot bucket timespan default to 90 days) to force them to rotate more often. (as hot buckets cannot be frozen)&lt;/P&gt;

&lt;P&gt;Remark : do not use exactly 1 hour or 1 day for maxHotSpanSecs,  It's best to use one week, it prevent too many buckets to be created if your events are not received chronologically.&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2015 15:19:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/limit-number-of-days-of-index-data-kept/m-p/174330#M23322</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2015-05-07T15:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: limit number of days of index data kept</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/limit-number-of-days-of-index-data-kept/m-p/174331#M23323</link>
      <description>&lt;P&gt;Hi yannk, thanks for the answer - very useful and I think I have a handle on it now in terms of the various states. I just have one more question - if we were to set maxTotalDataSizeMB and frozenTimePeriodInSecs to ensure that we don't keep too much data in active indexes, but due to the default settings within indexes.conf meant that data had not moved from WARM to COLD would that data be moved from WARM to FROZEN directly?&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2015 10:10:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/limit-number-of-days-of-index-data-kept/m-p/174331#M23323</guid>
      <dc:creator>john_howley</dc:creator>
      <dc:date>2015-05-08T10:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: limit number of days of index data kept</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/limit-number-of-days-of-index-data-kept/m-p/174332#M23324</link>
      <description>&lt;P&gt;the lifetime of a bucket is :&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;hot&lt;/STRONG&gt; (read and write) - on the homePath&lt;/LI&gt;
&lt;LI&gt;then &lt;STRONG&gt;warm&lt;/STRONG&gt; or &lt;STRONG&gt;cold&lt;/STRONG&gt; - on the homePath or coldPath respectively&lt;/LI&gt;
&lt;LI&gt;then &lt;STRONG&gt;frozen&lt;/STRONG&gt; (deleted or archived is a coldtoFrozenDir or script is defined) &lt;/LI&gt;
&lt;LI&gt;and eventually &lt;STRONG&gt;thawed&lt;/STRONG&gt; if restored from frozen - in the thawedPath&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;So a bucket can go directly from warm to frozen without being cold.&lt;BR /&gt;
The Cold state is optional, you may end up with an empty coldPath with the splunk defaults. And is only useful if you are using homePath and coldPath on different partitions for space reasons.&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2015 16:02:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/limit-number-of-days-of-index-data-kept/m-p/174332#M23324</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2015-05-08T16:02:38Z</dc:date>
    </item>
  </channel>
</rss>

