<?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: What does Splunk do when one index in an indexer has reached maximum capacity? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257596#M49497</link>
    <description>&lt;P&gt;no, the bucket is the smallest unit of storage.&lt;/P&gt;

&lt;P&gt;On the long term, you can try to specify smaller hot buckets to avoid having too large ones (up to 10GB buckets by default), try 500MB to start.&lt;BR /&gt;
but avoid having too small ones, because it has a performance impact (especially on a cluster)&lt;/P&gt;</description>
    <pubDate>Thu, 19 May 2016 20:37:48 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2016-05-19T20:37:48Z</dc:date>
    <item>
      <title>What does Splunk do when one index in an indexer has reached maximum capacity?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257589#M49490</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I'm currently having problem with the storage in one of my indexer. Here's the brief summary of my condition:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;1 Search Head instance&lt;/LI&gt;
&lt;LI&gt;3 Indexer instances&lt;/LI&gt;
&lt;LI&gt;Several Universal Forwarders, configured to send data to all 3 indexers in load-balance mode&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Among the indexes that I have in all indexers, one index (let's say "SMS") in Indexer B has already reached the maximum given bucket size. &lt;STRONG&gt;My question is as follows&lt;/STRONG&gt;: If the forwarders keep sending the data in load-balance mode to all indexers, will the forwarders skip sending the data to index "SMS" in indexer B as the maximum capacity has been reached?&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Vincent&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 14:57:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257589#M49490</guid>
      <dc:creator>vincenteous</dc:creator>
      <dc:date>2016-05-18T14:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: What does Splunk do when one index in an indexer has reached maximum capacity?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257590#M49491</link>
      <description>&lt;P&gt;The following page speaks about it &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.6/Indexer/Configureindexstoragesize"&gt;Managing Indexers and Clusters of Indexers&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It says - To set the maximum index size on a per-index basis, use the maxTotalDataSizeMB attribute. When this limit is reached, buckets begin rolling to frozen.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 15:19:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257590#M49491</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2016-05-18T15:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: What does Splunk do when one index in an indexer has reached maximum capacity?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257591#M49492</link>
      <description>&lt;P&gt;The data retention is set per index and per indexer basis, so the forwarder will keep sending data to all three indexers, indexer2 will delete old buckets to make room for new incoming data.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 16:01:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257591#M49492</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-05-18T16:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: What does Splunk do when one index in an indexer has reached maximum capacity?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257592#M49493</link>
      <description>&lt;P&gt;It migrates the oldest buckets to Frozen to make room for the new events (FIFO).  It generates a log when this happens, you will get a log like this in &lt;CODE&gt;_internal&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;07-24-2014 01:30:51.609 +0200 INFO BucketMover - will attempt to freeze: candidate='/opt/splunk/var/lib/splunk/rest/db/db_#######_#######_#' because 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 May 2016 19:15:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257592#M49493</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-05-18T19:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: What does Splunk do when one index in an indexer has reached maximum capacity?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257593#M49494</link>
      <description>&lt;P&gt;So this means there's a risk of data loss, is that correct? I'm quite confused as sometimes the forwarders will only send data to one indexer and ignore the rest even though in load-balance mode.&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 03:24:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257593#M49494</guid>
      <dc:creator>vincenteous</dc:creator>
      <dc:date>2016-05-19T03:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: What does Splunk do when one index in an indexer has reached maximum capacity?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257594#M49495</link>
      <description>&lt;P&gt;Is there any way we can configure the amount data removed to the freeze bucket? In my case, sometimes the data removed is too much and sometimes it is too little (from the oldest event I can see using search).&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 03:27:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257594#M49495</guid>
      <dc:creator>vincenteous</dc:creator>
      <dc:date>2016-05-19T03:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: What does Splunk do when one index in an indexer has reached maximum capacity?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257595#M49496</link>
      <description>&lt;P&gt;Noted. Thank you for the documentation.&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 03:31:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257595#M49496</guid>
      <dc:creator>vincenteous</dc:creator>
      <dc:date>2016-05-19T03:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: What does Splunk do when one index in an indexer has reached maximum capacity?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257596#M49497</link>
      <description>&lt;P&gt;no, the bucket is the smallest unit of storage.&lt;/P&gt;

&lt;P&gt;On the long term, you can try to specify smaller hot buckets to avoid having too large ones (up to 10GB buckets by default), try 500MB to start.&lt;BR /&gt;
but avoid having too small ones, because it has a performance impact (especially on a cluster)&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 20:37:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257596#M49497</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2016-05-19T20:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: What does Splunk do when one index in an indexer has reached maximum capacity?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257597#M49498</link>
      <description>&lt;P&gt;Thanks for the explanation, yannK.&lt;BR /&gt;
One more, is there any recommendation for the ratio between max index size and max size for hot bucket?&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2016 07:26:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257597#M49498</guid>
      <dc:creator>vincenteous</dc:creator>
      <dc:date>2016-05-27T07:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: What does Splunk do when one index in an indexer has reached maximum capacity?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257598#M49499</link>
      <description>&lt;P&gt;To avoid warnings, you may want to have maxhotbucketsize &amp;lt; maxtotoldatasizeMB.&lt;/P&gt;

&lt;P&gt;But you also want the buckets to be large enough to avoid creating too many. (performance impact)&lt;/P&gt;

&lt;P&gt;Try and see, it depends of your ingestion per day, and the range of your data.&lt;BR /&gt;
the |dbinspect tool is useful to look at your buckets repartition.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Dbinspect"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Dbinspect&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2016 16:01:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257598#M49499</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2016-05-27T16:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: What does Splunk do when one index in an indexer has reached maximum capacity?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257599#M49500</link>
      <description>&lt;P&gt;So the forwarder load balancing is a little interesting.  A forwarder will switch targets on a regular interval.  (Default 30 seconds. autoLBFrequency, set in outputs.conf)  This means that at any given time, a forwarder is only sending to one indexer.  It isn't round robin, instead regularly randomizing the indexer list.  &lt;/P&gt;

&lt;P&gt;However, it only makes the switch when it's considered 'safe' to do so, to avoid half of an event going to Indexer A, and the other half going to indexer B. This means EOF on a file read, and 10 seconds of inactivity on a TCP connection.  &lt;/P&gt;

&lt;P&gt;So if your forwarders aren't keeping up with file writes, it's possible for them to get 'stuck' on an indexer, and for that 30 second period to extend quite a bit.  &lt;/P&gt;

&lt;P&gt;To mitigate, you can set forceTimebasedAutoLB = true (again in Outputs.conf) but then you run into potential problems with events getting split.  I wouldn't recommend this.&lt;/P&gt;

&lt;P&gt;It's also worth noting that the forwarder doesn't know anything about the state of the indexer besides it being a valid target for data.  It doesn't know if a particular index is full or not.  &lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2016 19:02:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257599#M49500</guid>
      <dc:creator>emiller42</dc:creator>
      <dc:date>2016-05-27T19:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: What does Splunk do when one index in an indexer has reached maximum capacity?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257600#M49501</link>
      <description>&lt;P&gt;Noted yannK. Thanks for your help&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 07:47:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257600#M49501</guid>
      <dc:creator>vincenteous</dc:creator>
      <dc:date>2016-05-30T07:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: What does Splunk do when one index in an indexer has reached maximum capacity?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257601#M49502</link>
      <description>&lt;P&gt;I see now. This whole time it's been a misunderstanding on my part.&lt;BR /&gt;
Thanks for the explanation, emiller.&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 07:49:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-does-Splunk-do-when-one-index-in-an-indexer-has-reached/m-p/257601#M49502</guid>
      <dc:creator>vincenteous</dc:creator>
      <dc:date>2016-05-30T07:49:57Z</dc:date>
    </item>
  </channel>
</rss>

