<?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: a question regarding frozenTimePeriodInSecs in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/a-question-regarding-frozenTimePeriodInSecs/m-p/440925#M8070</link>
    <description>&lt;P&gt;You can't get 6 hours of data with a 2-hour retention time.&lt;/P&gt;

&lt;P&gt;Also, if GCPR says delete after 3 months, why is frozenTimePeriodInSecs 6 months?&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2019 20:33:35 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2019-08-08T20:33:35Z</dc:date>
    <item>
      <title>a question regarding frozenTimePeriodInSecs</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/a-question-regarding-frozenTimePeriodInSecs/m-p/440922#M8067</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;

&lt;P&gt;I'm planning to create some indexes for compliance requirements to remove the old data.&lt;BR /&gt;
I wanted to start small and created this index, but I'm having a hard time understanding how it works.&lt;/P&gt;

&lt;P&gt;[test]&lt;BR /&gt;
homePath = /splunkdb/test/db&lt;BR /&gt;
coldPath = /splunkdb/test/colddb&lt;BR /&gt;
thawedPath =/splunkdb/test/thaweddb&lt;BR /&gt;
coldToFrozenDir =/splunkdb/test//frozen&lt;BR /&gt;
maxTotalDataSizeMB = 5000&lt;BR /&gt;
maxHotBuckets = 3    (3 hours in Hot)&lt;BR /&gt;
maxHotSpanSecs = 3600 ( 1 hour)&lt;BR /&gt;
maxHotIdleSecs = 0&lt;BR /&gt;
maxWarmDBCount = 3   3( Hours in Warm)&lt;BR /&gt;
frozenTimePeriodInSecs = 7200   ( 2 hours)&lt;/P&gt;

&lt;P&gt;from my understanding, I should I have 6 hours of data in Hot/Warm buckets. &lt;/P&gt;

&lt;P&gt;what I don't understand is how frozenTimePeriodInSecs works.&lt;/P&gt;

&lt;P&gt;it is now 10:40 and It has been almost 18 hours since I created that index. I created that index at 16:14.&lt;/P&gt;

&lt;P&gt;I have 7 buckets in my Frozen bucket.&lt;/P&gt;

&lt;P&gt;The oldest data is from 23:40. So I have almost 10 hours of searchable events.&lt;/P&gt;

&lt;P&gt;I Don't have anything in my Colddb.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;These file are in my db folder:&lt;/STRONG&gt;&lt;BR /&gt;
-rw-------. 1 splunk splunk   10 Aug  7 16:14 CreationTime&lt;BR /&gt;
-rw-------. 1 splunk splunk    0 Aug  7 20:02 db_1565223179_1565219580_0.rbsentinel&lt;BR /&gt;
-rw-------. 1 splunk splunk    0 Aug  7 20:01 db_1565226054_1565223180_1.rbsentinel&lt;BR /&gt;
-rw-------. 1 splunk splunk    0 Aug  7 21:02 db_1565229653_1565226054_2.rbsentinel&lt;BR /&gt;
-rw-------. 1 splunk splunk    0 Aug  7 22:01 db_1565233253_1565229654_3.rbsentinel&lt;BR /&gt;
-rw-------. 1 splunk splunk    0 Aug  7 23:42 db_1565236853_1565233254_4.rbsentinel&lt;BR /&gt;
-rw-------. 1 splunk splunk    0 Aug  8 03:21 db_1565240453_1565236854_5.rbsentinel&lt;BR /&gt;
-rw-------. 1 splunk splunk    0 Aug  8 10:21 db_1565246453_1565240454_6.rbsentinel&lt;BR /&gt;
drwx--x---. 2 splunk splunk    6 Aug  7 16:14 GlobalMetaData&lt;BR /&gt;
drwx--x---. 3 splunk splunk 4096 Aug  8 11:24 hot_v1_7&lt;BR /&gt;
drwx--x---. 3 splunk splunk 4096 Aug  8 11:24 hot_v1_8&lt;BR /&gt;
drwx--x---. 3 splunk splunk 4096 Aug  8 11:25 hot_v1_9&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;These files are in my frozen folder:&lt;/STRONG&gt;&lt;BR /&gt;
drwx--x---. 3 splunk splunk 21 Aug  7 20:02 db_1565223179_1565219580_0&lt;BR /&gt;
drwx--x---. 3 splunk splunk 21 Aug  7 20:01 db_1565226054_1565223180_1&lt;BR /&gt;
drwx--x---. 3 splunk splunk 21 Aug  7 21:02 db_1565229653_1565226054_2&lt;BR /&gt;
drwx--x---. 3 splunk splunk 21 Aug  7 22:01 db_1565233253_1565229654_3&lt;BR /&gt;
drwx--x---. 3 splunk splunk 21 Aug  7 23:42 db_1565236853_1565233254_4&lt;BR /&gt;
drwx--x---. 3 splunk splunk 21 Aug  8 03:21 db_1565240453_1565236854_5&lt;BR /&gt;
drwx--x---. 3 splunk splunk 21 Aug  8 10:21 db_1565246453_1565240454_6.&lt;/P&gt;

&lt;P&gt;I was thinking that after 6 hours ( 6 buckets), every hour the oldest bucket will get deleted. So after 18 hours, I was expecting to have 3 hours of data deleted. But I think I was wrong and I don't know how it works now. &lt;/P&gt;

&lt;P&gt;can anyone please help me understand how these FROZEN bucket rotation/rollover works?  with my current settings how much searchable data I should be able to see? &lt;/P&gt;

&lt;P&gt;Best,&lt;BR /&gt;
Arsalan&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:41:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/a-question-regarding-frozenTimePeriodInSecs/m-p/440922#M8067</guid>
      <dc:creator>arsalanj</dc:creator>
      <dc:date>2020-09-30T01:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: a question regarding frozenTimePeriodInSecs</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/a-question-regarding-frozenTimePeriodInSecs/m-p/440923#M8068</link>
      <description>&lt;P&gt;A bucket is frozen once the &lt;EM&gt;newest&lt;/EM&gt; event in that bucket is at least &lt;CODE&gt;frozenTimePeriodInSecs&lt;/CODE&gt; old.&lt;BR /&gt;
You cannot expect to have 6 hours of searchable data with &lt;CODE&gt;maxHotSpanSecs=3600&lt;/CODE&gt; and &lt;CODE&gt;frozenTimePeriodInSecs = 7200&lt;/CODE&gt;.  That's a total of 3 hours.  The exact amount of searchable data depends on the incoming data rate and accuracy of timestamps (among other factors).&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 20:03:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/a-question-regarding-frozenTimePeriodInSecs/m-p/440923#M8068</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-08-08T20:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: a question regarding frozenTimePeriodInSecs</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/a-question-regarding-frozenTimePeriodInSecs/m-p/440924#M8069</link>
      <description>&lt;P&gt;@richgalloway  &lt;/P&gt;

&lt;P&gt;that's a total of 3 hours in the hot buckets. &lt;BR /&gt;
also there will be 3 hours in warm according to this: maxWarmDBCount = 3&lt;BR /&gt;
Because of maxHotSpanSecs=3600, every hour it creates a new bucket.&lt;/P&gt;

&lt;P&gt;The timestamps should be correct.&lt;/P&gt;

&lt;P&gt;So how should I proceed?&lt;BR /&gt;
For GDPR, we have to delete application logs after 3 months.&lt;BR /&gt;
I have to understand how this works in order to implement it on a bigger scale. This is what I was planning to do for 6 months of retention:&lt;/P&gt;

&lt;P&gt;maxTotalDataSizeMB = 500000&lt;BR /&gt;
maxHotBuckets = 3 &amp;gt;&amp;gt;&amp;gt;&amp;gt; 3 days of data &lt;BR /&gt;
maxHotSpanSecs = 1 day&lt;BR /&gt;
maxHotIdleSecs = 0&lt;BR /&gt;
maxWarmDBCount = 177&lt;BR /&gt;
frozenTimePeriodInSecs =  180 days  &lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 20:13:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/a-question-regarding-frozenTimePeriodInSecs/m-p/440924#M8069</guid>
      <dc:creator>arsalanj</dc:creator>
      <dc:date>2019-08-08T20:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: a question regarding frozenTimePeriodInSecs</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/a-question-regarding-frozenTimePeriodInSecs/m-p/440925#M8070</link>
      <description>&lt;P&gt;You can't get 6 hours of data with a 2-hour retention time.&lt;/P&gt;

&lt;P&gt;Also, if GCPR says delete after 3 months, why is frozenTimePeriodInSecs 6 months?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 20:33:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/a-question-regarding-frozenTimePeriodInSecs/m-p/440925#M8070</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-08-08T20:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: a question regarding frozenTimePeriodInSecs</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/a-question-regarding-frozenTimePeriodInSecs/m-p/440926#M8071</link>
      <description>&lt;P&gt;@richgalloway &lt;BR /&gt;
The 6 months was just an example.....&lt;BR /&gt;
So for 6 months, in this case, do you agree with those values?&lt;BR /&gt;
one of the guys in slack just told me to just modify frozenTimePeriodInSecs( 180days)  and maxHotSpanSecs (7days). &lt;BR /&gt;
I don't know which one is the most preferred way to do this. &lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 21:37:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/a-question-regarding-frozenTimePeriodInSecs/m-p/440926#M8071</guid>
      <dc:creator>arsalanj</dc:creator>
      <dc:date>2019-08-08T21:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: a question regarding frozenTimePeriodInSecs</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/a-question-regarding-frozenTimePeriodInSecs/m-p/440927#M8072</link>
      <description>&lt;P&gt;I agree with the Slacker.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 22:28:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/a-question-regarding-frozenTimePeriodInSecs/m-p/440927#M8072</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-08-08T22:28:22Z</dc:date>
    </item>
  </channel>
</rss>

