<?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 to troubleshoot why hot buckets are not rolling after exceeding maxHotSpanSecs? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-troubleshoot-why-hot-buckets-are-not-rolling-after/m-p/284174#M10777</link>
    <description>&lt;P&gt;When maxHotBuckets=1, maxHotSpanSecs is ignored. &lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;NOTE: If you set maxHotBuckets to 1, Splunk attempts to send all events to the single hot bucket and maxHotSpanSeconds will not be enforced.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Because of this, hot bucket will now only be rolled due to size (ie. 400000MB in your case)&lt;/P&gt;</description>
    <pubDate>Thu, 12 Oct 2017 18:39:21 GMT</pubDate>
    <dc:creator>pmalcakdoj</dc:creator>
    <dc:date>2017-10-12T18:39:21Z</dc:date>
    <item>
      <title>How to troubleshoot why hot buckets are not rolling after exceeding maxHotSpanSecs?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-troubleshoot-why-hot-buckets-are-not-rolling-after/m-p/284169#M10772</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;My hot bucket is not rolling when its span has exceeded maxhotspansecs. Could you please provide assistance?&lt;/P&gt;

&lt;P&gt;We are currently using a Splunk index, purely for data archiving purposes with the requirements as per below:&lt;BR /&gt;
- The data will be captured in single bucket of 24hour period for Reingestion purposes.&lt;BR /&gt;
- The hot bucket will roll straight from Hot to Cold.&lt;BR /&gt;
- Data will sit in cold for 6 days&lt;BR /&gt;
- Data will roll to frozen after a period of 7 days.&lt;/P&gt;

&lt;P&gt;After applying the configuration (indexes.conf as per below): I have noticed that the bucket span has exceeded 86401 as defined.&lt;BR /&gt;
Bucket Start epoch time: 1481822441&lt;BR /&gt;
Bucket End Epoch time: 1482106850&lt;/P&gt;

&lt;P&gt;Hence Span sec = 284409 -  which is greater than 86401.&lt;/P&gt;

&lt;P&gt;Indexes.conf Snippet:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[my_index]
frozenTimePeriodInSecs = 604800     
maxTotalDataSizeMB = 400000             
maxWarmDBCount = 0                      
maxHotSpanSecs = 86401                  
maxHotBuckets = 1                               
coldToFrozenDir = 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Kind regards,&lt;/P&gt;

&lt;P&gt;Craig&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2016 01:33:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-troubleshoot-why-hot-buckets-are-not-rolling-after/m-p/284169#M10772</guid>
      <dc:creator>craigwilkinson</dc:creator>
      <dc:date>2016-12-19T01:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why hot buckets are not rolling after exceeding maxHotSpanSecs?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-troubleshoot-why-hot-buckets-are-not-rolling-after/m-p/284170#M10773</link>
      <description>&lt;P&gt;There is no rolling straight from Hot to Cold. So I would wonder why your approach has that in consideration. Why are you not letting hot buckets roll after 1 day into warm, and then warm to frozen after 7 days? &lt;/P&gt;

&lt;P&gt;In regards to maxhotspansecs, this is a bounds and wont guarantee your buckets being aged out at exactly 1 day. There really isnt a good way to do this except to manually force a hot to warm roll at a set time everyday.&lt;/P&gt;

&lt;P&gt;Here's a good link that addresses this also : &lt;A href="https://answers.splunk.com/answers/2337/how-do-i-configure-my-indexes-so-that-hot-buckets-to-roll-to-warm-at-least-daily-for-effective-backups.html"&gt;https://answers.splunk.com/answers/2337/how-do-i-configure-my-indexes-so-that-hot-buckets-to-roll-to-warm-at-least-daily-for-effective-backups.html&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2016 05:34:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-troubleshoot-why-hot-buckets-are-not-rolling-after/m-p/284170#M10773</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2016-12-19T05:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why hot buckets are not rolling after exceeding maxHotSpanSecs?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-troubleshoot-why-hot-buckets-are-not-rolling-after/m-p/284171#M10774</link>
      <description>&lt;P&gt;Oh ok! This is news to me.&lt;/P&gt;

&lt;P&gt;The &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/Admin/Indexesconf"&gt;indexes.conf&lt;/A&gt; suggests that it's possible to roll from Hot &amp;gt; Cold directly:&lt;BR /&gt;
    maxWarmDBCount = &lt;NONNEGATIVE integer=""&gt;&lt;BR /&gt;
    * The maximum number of warm buckets.&lt;BR /&gt;
    * Warm buckets are located in the &lt;HOMEPATH&gt; for the index.&lt;BR /&gt;
    * If set to zero, Splunk will not retain any warm buckets&lt;BR /&gt;
      (will roll them to cold as soon as it can)&lt;BR /&gt;
    * Highest legal value is 4294967295&lt;BR /&gt;
    * Defaults to 300.&lt;/HOMEPATH&gt;&lt;/NONNEGATIVE&gt;&lt;/P&gt;

&lt;P&gt;Are you able to elaborate further as to why it's not achievable to roll directly from Hot &amp;gt; Cold ?&lt;BR /&gt;
Or is this just known functionality?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2016 05:51:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-troubleshoot-why-hot-buckets-are-not-rolling-after/m-p/284171#M10774</guid>
      <dc:creator>craigwilkinson</dc:creator>
      <dc:date>2016-12-19T05:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why hot buckets are not rolling after exceeding maxHotSpanSecs?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-troubleshoot-why-hot-buckets-are-not-rolling-after/m-p/284172#M10775</link>
      <description>&lt;P&gt;So technically, you can avoid having warm buckets yes. However, the pipelines for the hot -&amp;gt; warm -&amp;gt; cold -&amp;gt; frozen are not mutually exclusive. Meaning you can't skip the warm or cold buckets. You are just lowering the amount of time data is allowed to stay in these to a minimum. What this will reflect is i/o associated to a hot/warm roll, then (near) immediate roll to cold.&lt;/P&gt;

&lt;P&gt;Again, whats your use case where you want to keep these out of warm? Whats your reason for this? What you have described above is very doable with a hot(1day) to warm(1day to 6days) to frozen(7days) roll.&lt;/P&gt;

&lt;P&gt;Typically the only reason to roll from warm to cold is to age out data, or to move data to second tier storage, e.g., from ssd to spindles. &lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2016 07:12:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-troubleshoot-why-hot-buckets-are-not-rolling-after/m-p/284172#M10775</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2016-12-19T07:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why hot buckets are not rolling after exceeding maxHotSpanSecs?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-troubleshoot-why-hot-buckets-are-not-rolling-after/m-p/284173#M10776</link>
      <description>&lt;P&gt;Ok, sure.&lt;/P&gt;

&lt;P&gt;So if we increase maxWarmDBCount &amp;gt; 0, to say: maxWarmDBCount  = 6.&lt;BR /&gt;
This should fix the issue of Hot buckets not rolling when the hot bucket timespan exceeds: maxHotSpanSecs = 86401 ?&lt;/P&gt;

&lt;P&gt;So our new configuration would be:&lt;/P&gt;

&lt;P&gt;Indexes.conf Snippet:&lt;BR /&gt;
[my_index]&lt;BR /&gt;
frozenTimePeriodInSecs = 604800&lt;BR /&gt;
maxTotalDataSizeMB = 400000&lt;BR /&gt;
maxWarmDBCount = 0&lt;BR /&gt;
maxHotSpanSecs = 86401&lt;BR /&gt;
maxHotBuckets = 1&lt;BR /&gt;
maxWarmDBCount  = 6&lt;BR /&gt;
coldToFrozenDir = &lt;/P&gt;

&lt;P&gt;Will this work as expected?&lt;/P&gt;

&lt;P&gt;Currently hot, warm and cold directories are on the same type of storage - however initially, there was a requirement to move to cold directory, as this would be cheaper disk space. As this is not the case anymore we can neglect this requirement.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2016 09:39:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-troubleshoot-why-hot-buckets-are-not-rolling-after/m-p/284173#M10776</guid>
      <dc:creator>craigwilkinson</dc:creator>
      <dc:date>2016-12-19T09:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why hot buckets are not rolling after exceeding maxHotSpanSecs?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-troubleshoot-why-hot-buckets-are-not-rolling-after/m-p/284174#M10777</link>
      <description>&lt;P&gt;When maxHotBuckets=1, maxHotSpanSecs is ignored. &lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;NOTE: If you set maxHotBuckets to 1, Splunk attempts to send all events to the single hot bucket and maxHotSpanSeconds will not be enforced.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Because of this, hot bucket will now only be rolled due to size (ie. 400000MB in your case)&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 18:39:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-troubleshoot-why-hot-buckets-are-not-rolling-after/m-p/284174#M10777</guid>
      <dc:creator>pmalcakdoj</dc:creator>
      <dc:date>2017-10-12T18:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why hot buckets are not rolling after exceeding maxHotSpanSecs?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-troubleshoot-why-hot-buckets-are-not-rolling-after/m-p/284175#M10778</link>
      <description>&lt;P&gt;Hi @craigwilkinson ,&lt;/P&gt;

&lt;P&gt;just curious to know, on what factor did you choose 6 for maxWarmDBcount ? is it the number of days ?&lt;BR /&gt;
because I am facing the same issue. I had set maxHotSpanSecs = 2592000 [hot bucket - 30 days] and still hot bucket didnt roll to cold. I am not sure what maxWarmDBcount in this case.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 08:23:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-troubleshoot-why-hot-buckets-are-not-rolling-after/m-p/284175#M10778</guid>
      <dc:creator>damode</dc:creator>
      <dc:date>2017-11-20T08:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why hot buckets are not rolling after exceeding maxHotSpanSecs?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-troubleshoot-why-hot-buckets-are-not-rolling-after/m-p/284176#M10779</link>
      <description>&lt;P&gt;Hi @esix [Splunk],&lt;/P&gt;

&lt;P&gt;The above link is broken. Can you please share the updated link ?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Dev&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 08:48:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-troubleshoot-why-hot-buckets-are-not-rolling-after/m-p/284176#M10779</guid>
      <dc:creator>damode</dc:creator>
      <dc:date>2017-11-20T08:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why hot buckets are not rolling after exceeding maxHotSpanSecs?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-troubleshoot-why-hot-buckets-are-not-rolling-after/m-p/284177#M10780</link>
      <description>&lt;P&gt;Hey @damode,&lt;/P&gt;

&lt;P&gt;Apologies, I think there was an error with my initial configuration.&lt;/P&gt;

&lt;P&gt;We're currently running maxWarmDBCount=3.&lt;/P&gt;

&lt;P&gt;I'm not 100% sure what the reasoning was as this was a year ago sorry. &lt;BR /&gt;
But setting this value above 1 addressed the issue of buckets not rolling.&lt;/P&gt;

&lt;P&gt;-Craig&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 22:44:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-troubleshoot-why-hot-buckets-are-not-rolling-after/m-p/284177#M10780</guid>
      <dc:creator>craigwilkinson</dc:creator>
      <dc:date>2017-11-20T22:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why hot buckets are not rolling after exceeding maxHotSpanSecs?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-troubleshoot-why-hot-buckets-are-not-rolling-after/m-p/284178#M10781</link>
      <description>&lt;P&gt;Thanks, @craigwilkinson.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 00:51:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-troubleshoot-why-hot-buckets-are-not-rolling-after/m-p/284178#M10781</guid>
      <dc:creator>damode</dc:creator>
      <dc:date>2017-11-21T00:51:27Z</dc:date>
    </item>
  </channel>
</rss>

