<?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: Is it possible to force data to freeze? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-force-data-to-freeze/m-p/476963#M81887</link>
    <description>&lt;P&gt;[timtest]&lt;BR /&gt;
coldPath = $SPLUNK_DB/timtest/colddb&lt;BR /&gt;
homePath = $SPLUNK_DB/timtest/db&lt;BR /&gt;
maxHotSpanSecs=900&lt;BR /&gt;
coldToFrozenDir=$SPLUNK_DB/timtest/deeperpath/frozendb&lt;BR /&gt;
frozenTimePeriodInSecs=600&lt;BR /&gt;
maxTotalDataSizeMB = 512000&lt;BR /&gt;
thawedPath = $SPLUNK_DB/timtest/thaweddb&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 02:12:10 GMT</pubDate>
    <dc:creator>tsheets13</dc:creator>
    <dc:date>2020-09-30T02:12:10Z</dc:date>
    <item>
      <title>Is it possible to force data to freeze?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-force-data-to-freeze/m-p/476961#M81885</link>
      <description>&lt;P&gt;We, up to now, have never frozen data.  However, we have a requirement now to freeze some data for years.&lt;/P&gt;

&lt;P&gt;I need to show in a development environment how this works.&lt;/P&gt;

&lt;P&gt;I have created a new index.  Defined coldToFrozenDir and set frozenTimePeriodInSecs to 600 (10 mins).&lt;/P&gt;

&lt;P&gt;I have created input for a text file and filled it with about 100k lines of data.&lt;/P&gt;

&lt;P&gt;The data is being successfully indexed&lt;/P&gt;

&lt;P&gt;The directory was created, but there is no frozen data.&lt;/P&gt;

&lt;P&gt;I suspect it's because the data is still hot.&lt;/P&gt;

&lt;P&gt;Is there a way to force data through the bucket cycle so I can see it show up frozen?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 19:34:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-force-data-to-freeze/m-p/476961#M81885</guid>
      <dc:creator>tsheets13</dc:creator>
      <dc:date>2019-09-13T19:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to force data to freeze?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-force-data-to-freeze/m-p/476962#M81886</link>
      <description>&lt;P&gt;please share your &lt;CODE&gt;indexes.conf&lt;/CODE&gt;. according to your description, it supposed to work fine. data will freeze regardless bucket status of time or size thresholds are met&lt;/P&gt;</description>
      <pubDate>Sat, 14 Sep 2019 02:15:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-force-data-to-freeze/m-p/476962#M81886</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-09-14T02:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to force data to freeze?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-force-data-to-freeze/m-p/476963#M81887</link>
      <description>&lt;P&gt;[timtest]&lt;BR /&gt;
coldPath = $SPLUNK_DB/timtest/colddb&lt;BR /&gt;
homePath = $SPLUNK_DB/timtest/db&lt;BR /&gt;
maxHotSpanSecs=900&lt;BR /&gt;
coldToFrozenDir=$SPLUNK_DB/timtest/deeperpath/frozendb&lt;BR /&gt;
frozenTimePeriodInSecs=600&lt;BR /&gt;
maxTotalDataSizeMB = 512000&lt;BR /&gt;
thawedPath = $SPLUNK_DB/timtest/thaweddb&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:12:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-force-data-to-freeze/m-p/476963#M81887</guid>
      <dc:creator>tsheets13</dc:creator>
      <dc:date>2020-09-30T02:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to force data to freeze?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-force-data-to-freeze/m-p/476964#M81888</link>
      <description>&lt;P&gt;did you try restarting splunk?  i think restarting splunk will force the bucket to roll from hot?  So you could at least test that theory and/or verify if the bucket rolls to warm/cold...&lt;/P&gt;</description>
      <pubDate>Sat, 14 Sep 2019 13:00:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-force-data-to-freeze/m-p/476964#M81888</guid>
      <dc:creator>maciep</dc:creator>
      <dc:date>2019-09-14T13:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to force data to freeze?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-force-data-to-freeze/m-p/476965#M81889</link>
      <description>&lt;P&gt;tried your settings on my laptop, and wrote a scheduled search that runs every 5 minutes and does that:&lt;BR /&gt;
&lt;CODE&gt;index = _internal | head 1000 | collect index=timtest"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;try and run this search to see if its working:&lt;BR /&gt;
&lt;CODE&gt;index=_internal sourcetype=splunkd component=BucketMover freeze&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;works fine on my end&lt;BR /&gt;
see screenshots:&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7661i45C2D74E30A26C0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7662iEBF25AF7B92B78FB/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Sep 2019 19:07:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-force-data-to-freeze/m-p/476965#M81889</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-09-14T19:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to force data to freeze?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-force-data-to-freeze/m-p/476966#M81890</link>
      <description>&lt;P&gt;That's all it took.  Restart did the trick.  Interesting that the first restart created the frozendb path, but it required a second for the data to actually start freezing.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 12:28:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-force-data-to-freeze/m-p/476966#M81890</guid>
      <dc:creator>tsheets13</dc:creator>
      <dc:date>2019-09-16T12:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to force data to freeze?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-force-data-to-freeze/m-p/476967#M81891</link>
      <description>&lt;P&gt;i wonder if the bucket rolls when splunk is stopping and your setting took effect as splunk was starting.  So that bucket had rolled off before it knew about the directory?  &lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 13:02:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-force-data-to-freeze/m-p/476967#M81891</guid>
      <dc:creator>maciep</dc:creator>
      <dc:date>2019-09-16T13:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to force data to freeze?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-force-data-to-freeze/m-p/476968#M81892</link>
      <description>&lt;P&gt;@tsheets13 &lt;BR /&gt;
If you found a solution, kindly mark the question as answered so other will know what worked for you, also up-vote any helpful comments&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 15:59:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-force-data-to-freeze/m-p/476968#M81892</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-09-16T15:59:58Z</dc:date>
    </item>
  </channel>
</rss>

