<?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 Why are the buckets not rolling as per configuration under indexes.conf? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Why-are-the-buckets-not-rolling-as-per-configuration-under/m-p/435233#M15390</link>
    <description>&lt;P&gt;As per our configuration data retain is 730 days. maxHotSpanSecs is 30 days but we are noticing bucket with start date 1970 and end date 20190810&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/6964i2FB15855DF0A3C6F/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;I can see a few buckets are in the warm state as well which has the earliest time as 1970 and latest as 2019. Kindly suggest why these buckets are available and how to delete unwanted buckets.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2019 14:23:01 GMT</pubDate>
    <dc:creator>dkolekar_splunk</dc:creator>
    <dc:date>2019-04-30T14:23:01Z</dc:date>
    <item>
      <title>Why are the buckets not rolling as per configuration under indexes.conf?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-are-the-buckets-not-rolling-as-per-configuration-under/m-p/435233#M15390</link>
      <description>&lt;P&gt;As per our configuration data retain is 730 days. maxHotSpanSecs is 30 days but we are noticing bucket with start date 1970 and end date 20190810&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/6964i2FB15855DF0A3C6F/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;I can see a few buckets are in the warm state as well which has the earliest time as 1970 and latest as 2019. Kindly suggest why these buckets are available and how to delete unwanted buckets.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 14:23:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-are-the-buckets-not-rolling-as-per-configuration-under/m-p/435233#M15390</guid>
      <dc:creator>dkolekar_splunk</dc:creator>
      <dc:date>2019-04-30T14:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why are the buckets not rolling as per configuration under indexes.conf?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-are-the-buckets-not-rolling-as-per-configuration-under/m-p/435234#M15391</link>
      <description>&lt;P&gt;While checking the cause of this issue, I found the following the log in splunkd.log &lt;/P&gt;

&lt;P&gt;02-23-2019 19:54:18.228 +0000 INFO HotBucketRoller - finished moving hot to warm bid=indexname~17~C4C49C84-24A5-4BF4-9B2C-21AB428C447E idx=indexname from=hot_quar_v1_17 to=db_1570730892_0_17_C4C49C84-24A5-4BF4-9B2C-21AB428C447E size=86269952 caller=lru maxHotBuckets=3, count=3 hot buckets + 1 quar bucket,evicting_count=1 LRU hots&lt;/P&gt;

&lt;P&gt;Which confirms that these buckets are quarantine buckets. The difference is that &lt;CODE&gt;hot_v1_&lt;/CODE&gt; is a normal hot bucket &amp;amp; &lt;CODE&gt;hot_quar_v1_&lt;/CODE&gt; is a quarantine bucket. Quarantine buckets are used to catch data that is older than quarantinePastSecs specified in indexes.conf or newer than quarantineFutureSecs specified by indexes.conf. &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/admin/indexesconf" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/admin/indexesconf&lt;/A&gt;&lt;BR /&gt;
quarantinePastSecs = &lt;BR /&gt;
- Events with timestamp of quarantinePastSecs older than "now" will be&lt;BR /&gt;
dropped into quarantine bucket.&lt;BR /&gt;
- Defaults to 77760000 (900 days).&lt;BR /&gt;
- This is a mechanism to prevent the main hot buckets from being polluted with&lt;BR /&gt;
fringe events.&lt;/P&gt;

&lt;P&gt;quarantineFutureSecs = &lt;BR /&gt;
- Events with timestamp of quarantineFutureSecs newer than "now" will be&lt;BR /&gt;
dropped into quarantine bucket.&lt;BR /&gt;
- Defaults to 2592000 (30 days).&lt;BR /&gt;
- This is a mechanism to prevent main hot buckets from being polluted with&lt;BR /&gt;
fringe events.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;The quarantine buckets store the data older than quarantinePastSecs parameter in indexes.conf and newer than "now" as per quarantinePastSecs.&lt;/LI&gt;
&lt;LI&gt;Due to which we were seeing the older data and recent data in those buckets. &lt;/LI&gt;
&lt;LI&gt;The number of quarantine buckets depends on maxHotBuckets parameter in indexes.conf
maxHotBuckets = Quarantine buckets+ hot buckets per indexer and per index&lt;/LI&gt;
&lt;LI&gt;In the above image, in total, you can see 12 hot buckets from 4 indexers. Which includes quarantine buckets as well as hot buckets. &lt;/LI&gt;
&lt;LI&gt;The quarantine buckets are only available in the hot bucket stage. &lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Q. Is there a way to separate a way to put future events in the bucket and past events in another bucket?&lt;BR /&gt;
A. No, this feature is not available in splunk. If we do so, the number of buckets will get increased and you will end up with multiple small buckets.&lt;/P&gt;

&lt;P&gt;Q. How to remove unwanted buckets from splunk?&lt;BR /&gt;
A. Buckets in the thawed state can be removed while the server is running, but hot/warm/ cold should not be. So, you need to &lt;BR /&gt;
1. stop splunk&lt;BR /&gt;
2. delete the offending bucket&lt;BR /&gt;
3. start splunk&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:18:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-are-the-buckets-not-rolling-as-per-configuration-under/m-p/435234#M15391</guid>
      <dc:creator>dkolekar_splunk</dc:creator>
      <dc:date>2020-09-30T00:18:35Z</dc:date>
    </item>
  </channel>
</rss>

