<?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: Log retention for 1 year in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Log-retention-for-1-year/m-p/392082#M6605</link>
    <description>&lt;P&gt;Hi @isaor,&lt;/P&gt;

&lt;P&gt;The retention times are set in indexes.conf&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Indexesconf"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Indexesconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;For the retention time you set the &lt;STRONG&gt;frozenTimePeriodInSecs&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;This is the example for the cold to frozen retention period.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    frozenTimePeriodInSecs = &amp;lt;nonnegative integer&amp;gt;
    * Number of seconds after which indexed data rolls to frozen.
    * If you do not specify a coldToFrozenScript, data is deleted when rolled to
      frozen.
    * IMPORTANT: Every event in the DB must be older than frozenTimePeriodInSecs
      before it will roll. Then, the DB will be frozen the next time splunkd
      checks (based on rotatePeriodInSecs attribute).
    * Highest legal value is 4294967295
    * Defaults to 188697600 (6 years).
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For 1 year, you would set the value to  31556926 seconds&lt;/P&gt;</description>
    <pubDate>Wed, 16 May 2018 03:10:41 GMT</pubDate>
    <dc:creator>kmugglet</dc:creator>
    <dc:date>2018-05-16T03:10:41Z</dc:date>
    <item>
      <title>Log retention for 1 year</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Log-retention-for-1-year/m-p/392081#M6604</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;How it´s possible to retain the logs of my splunk during 1 year?. I need to modify a parameter?. Whats is the default time of retention of logs? and how can i validate that.&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 01:35:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Log-retention-for-1-year/m-p/392081#M6604</guid>
      <dc:creator>Isaor</dc:creator>
      <dc:date>2018-05-16T01:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Log retention for 1 year</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Log-retention-for-1-year/m-p/392082#M6605</link>
      <description>&lt;P&gt;Hi @isaor,&lt;/P&gt;

&lt;P&gt;The retention times are set in indexes.conf&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Indexesconf"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Indexesconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;For the retention time you set the &lt;STRONG&gt;frozenTimePeriodInSecs&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;This is the example for the cold to frozen retention period.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    frozenTimePeriodInSecs = &amp;lt;nonnegative integer&amp;gt;
    * Number of seconds after which indexed data rolls to frozen.
    * If you do not specify a coldToFrozenScript, data is deleted when rolled to
      frozen.
    * IMPORTANT: Every event in the DB must be older than frozenTimePeriodInSecs
      before it will roll. Then, the DB will be frozen the next time splunkd
      checks (based on rotatePeriodInSecs attribute).
    * Highest legal value is 4294967295
    * Defaults to 188697600 (6 years).
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For 1 year, you would set the value to  31556926 seconds&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 03:10:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Log-retention-for-1-year/m-p/392082#M6605</guid>
      <dc:creator>kmugglet</dc:creator>
      <dc:date>2018-05-16T03:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Log retention for 1 year</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Log-retention-for-1-year/m-p/392083#M6606</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;

&lt;P&gt;I check the index.conf, but i don´t see my index that i created.&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 22:57:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Log-retention-for-1-year/m-p/392083#M6606</guid>
      <dc:creator>Isaor</dc:creator>
      <dc:date>2018-05-16T22:57:24Z</dc:date>
    </item>
  </channel>
</rss>

