<?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: How send indexed data older than 3 months to colddb monthly? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-send-indexed-data-older-than-3-months-to-colddb-monthly/m-p/133531#M27443</link>
    <description>&lt;P&gt;Have a look at this article which nicely explains Splunk data bucket life cycle and various factors involved in the bucket movement to next stage.&lt;BR /&gt;
&lt;A href="http://wiki.splunk.com/Deploy:BucketRotationAndRetention"&gt;http://wiki.splunk.com/Deploy:BucketRotationAndRetention&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;My guess will be to adjust the &lt;CODE&gt;maxDataSize/maxHotSpanSecs&lt;/CODE&gt; to roll hot buckets to warm and then adjust &lt;CODE&gt;maxWarmDBCount&lt;/CODE&gt;  and &lt;CODE&gt;maxHotBuckets&lt;/CODE&gt;  values so that they contain only 90 day worth of data and then they roll-out to cold bucket.&lt;/P&gt;

&lt;P&gt;e.g. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;maxHotSpanSecs=86400   (daily roll-out of hot to warm)
maxHotBuckets=3
maxWarmDBCount = 87      (total hot+warm buckets are 90, so 90 days worth of data)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;NOTE: Ensure that maxTotalDataSizeMB and frozenTimePeriodInSecs are sufficiently high so that cold buckets are not getting rolled-over to Frozen.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Nov 2014 17:37:01 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2014-11-25T17:37:01Z</dc:date>
    <item>
      <title>How send indexed data older than 3 months to colddb monthly?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-send-indexed-data-older-than-3-months-to-colddb-monthly/m-p/133530#M27442</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;
I have indexed logs from more than nine months ago in the default directory: &lt;CODE&gt;$SPLUNK_DB\dbcustom1\db&lt;/CODE&gt;&lt;BR /&gt;
And I wish to run a task every month to send all logs older than 3 months to &lt;CODE&gt;$SPLUNK_DB\dbcustom1\colddb&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I would appreciate a clue please.&lt;/P&gt;

&lt;P&gt;Regards.&lt;BR /&gt;
Jorge    &lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2014 17:01:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-send-indexed-data-older-than-3-months-to-colddb-monthly/m-p/133530#M27442</guid>
      <dc:creator>jrodriguezap</dc:creator>
      <dc:date>2014-11-25T17:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: How send indexed data older than 3 months to colddb monthly?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-send-indexed-data-older-than-3-months-to-colddb-monthly/m-p/133531#M27443</link>
      <description>&lt;P&gt;Have a look at this article which nicely explains Splunk data bucket life cycle and various factors involved in the bucket movement to next stage.&lt;BR /&gt;
&lt;A href="http://wiki.splunk.com/Deploy:BucketRotationAndRetention"&gt;http://wiki.splunk.com/Deploy:BucketRotationAndRetention&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;My guess will be to adjust the &lt;CODE&gt;maxDataSize/maxHotSpanSecs&lt;/CODE&gt; to roll hot buckets to warm and then adjust &lt;CODE&gt;maxWarmDBCount&lt;/CODE&gt;  and &lt;CODE&gt;maxHotBuckets&lt;/CODE&gt;  values so that they contain only 90 day worth of data and then they roll-out to cold bucket.&lt;/P&gt;

&lt;P&gt;e.g. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;maxHotSpanSecs=86400   (daily roll-out of hot to warm)
maxHotBuckets=3
maxWarmDBCount = 87      (total hot+warm buckets are 90, so 90 days worth of data)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;NOTE: Ensure that maxTotalDataSizeMB and frozenTimePeriodInSecs are sufficiently high so that cold buckets are not getting rolled-over to Frozen.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2014 17:37:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-send-indexed-data-older-than-3-months-to-colddb-monthly/m-p/133531#M27443</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-11-25T17:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: How send indexed data older than 3 months to colddb monthly?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-send-indexed-data-older-than-3-months-to-colddb-monthly/m-p/133532#M27444</link>
      <description>&lt;P&gt;Hi somesoni2&lt;BR /&gt;
Thanks for you answer.&lt;BR /&gt;
I'm testing your example with following parameters&lt;BR /&gt;
    maxHotSpanSecs = 3600&lt;BR /&gt;
    maxHotBuckets=3&lt;BR /&gt;
    maxWarmDBCount = 21&lt;/P&gt;

&lt;P&gt;In 15 hours i get results, and I commented&lt;BR /&gt;
a query.&lt;BR /&gt;
With this I mean that when you reach total buckets will be sent to colddb. What if between maxHotSpanSecs splunk restart the service, but I'm wrong a new bucket is created. So this would impact total buckets.&lt;BR /&gt;
thanks&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2014 06:16:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-send-indexed-data-older-than-3-months-to-colddb-monthly/m-p/133532#M27444</guid>
      <dc:creator>jrodriguezap</dc:creator>
      <dc:date>2014-11-26T06:16:00Z</dc:date>
    </item>
  </channel>
</rss>

