<?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: Question About Retetion Policy No Effect in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Question-About-Retetion-Policy-No-Effect/m-p/486216#M83232</link>
    <description>&lt;P&gt;Ok, thanks for you reply, I'll delete some bucket event we will lost some data.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jan 2020 00:36:59 GMT</pubDate>
    <dc:creator>aojie654</dc:creator>
    <dc:date>2020-01-13T00:36:59Z</dc:date>
    <item>
      <title>Question About Retetion Policy No Effect</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Question-About-Retetion-Policy-No-Effect/m-p/486214#M83230</link>
      <description>&lt;P&gt;Hi, Splunkers:&lt;/P&gt;

&lt;P&gt;I have a question about retention policy that I had configured my index linux_log of &lt;CODE&gt;frozenTimePeriodInSecs&lt;/CODE&gt; in stanza default in indexes.conf, then the result after splunk btool as following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# splunk btool --debug indexes list linux_log | grep frozenTimePeriodInSecs
/opt/splunk/etc/system/local/indexes.conf      frozenTimePeriodInSecs = 31624400
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but I saw the index info of linux_log in monitoring console like this:&lt;BR /&gt;
&lt;IMG src="https://community.splunk.com/storage/temp/279646-p1.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;Thats obvious that there are some data is older than retention settings! And I can searching the retention data also:&lt;BR /&gt;
&lt;IMG src="https://community.splunk.com/storage/temp/279647-p2.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;The timestamp of first event is the time when I started this server... That is, no data was deleted from splunk even they were older than retention limit.&lt;/P&gt;

&lt;P&gt;In actually, we had configured the retention limit to 1 year in my customer's splunk but there are 6 years' data, and their disk will be fill full in next 3 days.&lt;/P&gt;

&lt;P&gt;There are 3 questions:&lt;BR /&gt;
1. Why is this?&lt;BR /&gt;
2. How can I delete the old data? I know that I can identify the timestamp then delete the bucket folder in db path, but the timestamp in bucket name is index_time but not event_timestamp, isn't it?&lt;BR /&gt;
3. I can't using &lt;CODE&gt;delete&lt;/CODE&gt; in a search for the command is only remove the event from search result and will not clean up the disk, right? &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:42:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Question-About-Retetion-Policy-No-Effect/m-p/486214#M83230</guid>
      <dc:creator>aojie654</dc:creator>
      <dc:date>2020-09-30T03:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Question About Retetion Policy No Effect</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Question-About-Retetion-Policy-No-Effect/m-p/486215#M83231</link>
      <description>&lt;P&gt;Buckets contain a span of data.  In order for a bucket to be frozen (deleted), the &lt;EM&gt;newest&lt;/EM&gt; event in the bucket must be older than &lt;CODE&gt;frozenTimePeriodInSecs&lt;/CODE&gt;.  For this reason, people often constrain buckets to be at most 1-day wide but this can cause very serious side-effects, including scalability problems that are unfixable.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jan 2020 18:18:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Question-About-Retetion-Policy-No-Effect/m-p/486215#M83231</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-01-12T18:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Question About Retetion Policy No Effect</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Question-About-Retetion-Policy-No-Effect/m-p/486216#M83232</link>
      <description>&lt;P&gt;Ok, thanks for you reply, I'll delete some bucket event we will lost some data.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 00:36:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Question-About-Retetion-Policy-No-Effect/m-p/486216#M83232</guid>
      <dc:creator>aojie654</dc:creator>
      <dc:date>2020-01-13T00:36:59Z</dc:date>
    </item>
  </channel>
</rss>

