<?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: Process for Data retenetion policies in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Process-for-Data-retenetion-policies/m-p/350664#M64360</link>
    <description>&lt;P&gt;Hi splunkgk,&lt;BR /&gt;
you have to put your options in every indexes.conf stanzas.&lt;/P&gt;

&lt;P&gt;I don't like to have a so large hot area because hot buckets are written and read at the same time, instead warm buckets are only read and this is more efficient in searches (see &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.2/Indexer/HowSplunkstoresindexes"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.2/Indexer/HowSplunkstoresindexes&lt;/A&gt; ).&lt;/P&gt;

&lt;P&gt;the cold period depends from the global retention defined in frozenTimePeriodInSecs and from how long that buckets are hot and warm.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jul 2017 11:01:26 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2017-07-11T11:01:26Z</dc:date>
    <item>
      <title>Process for Data retenetion policies</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Process-for-Data-retenetion-policies/m-p/350658#M64354</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I wanted to apply data retention policy on splunk enterprise  for the first time (as of now this is default) as per below criteria.&lt;/P&gt;

&lt;P&gt;All indexes will have the last 12 months of data available for search "hot bucket" &lt;BR /&gt;
After this, data will roll to the "warm bucket" for 3 months. &lt;BR /&gt;
Then the "cold bucket" for 3 months. &lt;BR /&gt;
After 18 months all incoming data is effectively irrecoverable from Splunk.&lt;/P&gt;

&lt;P&gt;This will be great of someone cloud share me how exactly this can be done and how to set the indexes.conf.&lt;/P&gt;

&lt;P&gt;-Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 05:03:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Process-for-Data-retenetion-policies/m-p/350658#M64354</guid>
      <dc:creator>splunkgk</dc:creator>
      <dc:date>2017-06-20T05:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Process for Data retenetion policies</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Process-for-Data-retenetion-policies/m-p/350659#M64355</link>
      <description>&lt;P&gt;Hi splunkgk,&lt;BR /&gt;
roll from hot to warm bucket doesn't move logs so it isn't a good idea to have large hot buckets (see &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.1/Indexer/HowSplunkstoresindexes"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.1/Indexer/HowSplunkstoresindexes&lt;/A&gt; ).&lt;BR /&gt;
Anyway, parameters to roll buckets are described in &lt;A href="https://docs.splunk.com/Documentation/Splunk/6.6.1/Admin/Indexesconf"&gt;https://docs.splunk.com/Documentation/Splunk/6.6.1/Admin/Indexesconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 11:52:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Process-for-Data-retenetion-policies/m-p/350659#M64355</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-06-20T11:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Process for Data retenetion policies</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Process-for-Data-retenetion-policies/m-p/350660#M64356</link>
      <description>&lt;P&gt;HI Giuseppe, Thanks for reply. I have gone though the settings and a question here, I have around 8 indexes which are configured in my "search" app located under /SPLUNLK_HOME/etc/apps/search/local/indexes.conf.  My question here is how do i set rolling parameter  which should effect on all indexes. &lt;/P&gt;

&lt;P&gt;Or is that i need to add a parameter in indivisual [index] blocks in each apps?&lt;/P&gt;

&lt;P&gt;I want to apply the above criteria (Base question) on indexes in all my apps globally. Could you please suggests me where can i teak the settings?&lt;/P&gt;

&lt;P&gt;-thanks&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 09:13:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Process-for-Data-retenetion-policies/m-p/350660#M64356</guid>
      <dc:creator>splunkgk</dc:creator>
      <dc:date>2017-06-21T09:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Process for Data retenetion policies</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Process-for-Data-retenetion-policies/m-p/350661#M64357</link>
      <description>&lt;P&gt;Hi splunkgk,&lt;BR /&gt;
I usually put my indexes.conf in a dedicated App, but it depends by architecture: e.g. a clustered architecture requires that indexes are managed by Master Node and I prefer to have only one indexes.conf, instead, if you have more than one Indexer, you could manage them deploying  a TA (containing indexes.conf) by Deployment Server; if instead you have a Stand Alone server, maybe it's simpler to insert indexes.conf in each App, it's your own approach.&lt;/P&gt;

&lt;P&gt;Anyway, these Parameters must be modified in each stanza of indexes.conf files.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 09:47:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Process-for-Data-retenetion-policies/m-p/350661#M64357</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-06-21T09:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Process for Data retenetion policies</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Process-for-Data-retenetion-policies/m-p/350662#M64358</link>
      <description>&lt;P&gt;Hi Giuseppe, Thank your your reply.&lt;BR /&gt;
My current architecture is stand alone server and i do not have a clustered index. indexes.conf are placed in individual app folder under /SPLUNK_HOME/etc/apps/search/local/indexes.conf.&lt;/P&gt;

&lt;P&gt;Here is below my one of index which is a having large data under "search" app.&lt;/P&gt;

&lt;P&gt;[index_name]&lt;BR /&gt;
coldPath = $SPLUNK_DB/index_name/colddb&lt;BR /&gt;
homePath = $SPLUNK_DB/index_name/db&lt;BR /&gt;
thawedPath = $SPLUNK_DB/index_name/thaweddb&lt;BR /&gt;
maxTotalDataSizeMB = 750000&lt;/P&gt;

&lt;P&gt;so I would like to apply data retention on this index as mentioned in the question as (roll must happen as HOT Bucket =12 months, WARM bucket= 3 months and COLD bucket= 3 months, over the period of 18 months data must not reside on splunk volume)&lt;/P&gt;

&lt;P&gt;is the below setting need to set on each of indexes.conf on each apps?&lt;BR /&gt;
maxHotIdleSecs = 31536000( as i wanted to retain 12 months of data in HOT bucket)&lt;BR /&gt;
maxWarmDBCount = 300&lt;BR /&gt;
frozenTimePeriodInSecs = 7884000 (90 days in sec, cold to frozen)&lt;BR /&gt;
coldToFrozenDir = /archive/myindex ( after 90 days, index goes here)&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:37:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Process-for-Data-retenetion-policies/m-p/350662#M64358</guid>
      <dc:creator>splunkgk</dc:creator>
      <dc:date>2020-09-29T14:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Process for Data retenetion policies</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Process-for-Data-retenetion-policies/m-p/350663#M64359</link>
      <description>&lt;P&gt;Hi Giuseppe,&lt;/P&gt;

&lt;P&gt;is the below setting in /SPLUNK_HOME/etc/system/local/indexes.conf  will works on all of my current indexes which are stored in /SPLUNK_HOME/var/lib/splunk?&lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
 frozenTimePeriodInSecs = 31536000  [1 year]&lt;BR /&gt;
 enableTsidxReduction = true&lt;BR /&gt;
 timePeriodInSecBeforeTsidxReduction = 345600 [4 days]&lt;/P&gt;

&lt;P&gt;Or should i copy this stanza in individual indexes ?&lt;/P&gt;

&lt;P&gt;One thing I should take care that, The data must be stay in cold bucket for 3 months before this rolled to FREEZE.&lt;/P&gt;

&lt;P&gt;How do make sure the above retention policy works with my criteria&lt;/P&gt;

&lt;P&gt;-Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:49:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Process-for-Data-retenetion-policies/m-p/350663#M64359</guid>
      <dc:creator>splunkgk</dc:creator>
      <dc:date>2020-09-29T14:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Process for Data retenetion policies</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Process-for-Data-retenetion-policies/m-p/350664#M64360</link>
      <description>&lt;P&gt;Hi splunkgk,&lt;BR /&gt;
you have to put your options in every indexes.conf stanzas.&lt;/P&gt;

&lt;P&gt;I don't like to have a so large hot area because hot buckets are written and read at the same time, instead warm buckets are only read and this is more efficient in searches (see &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.2/Indexer/HowSplunkstoresindexes"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.2/Indexer/HowSplunkstoresindexes&lt;/A&gt; ).&lt;/P&gt;

&lt;P&gt;the cold period depends from the global retention defined in frozenTimePeriodInSecs and from how long that buckets are hot and warm.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 11:01:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Process-for-Data-retenetion-policies/m-p/350664#M64360</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-07-11T11:01:26Z</dc:date>
    </item>
  </channel>
</rss>

