<?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 we not seeing expected behavior for maxTotalDataSizeMB in indexes.conf? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-we-not-seeing-expected-behavior-for-maxTotalDataSizeMB/m-p/235570#M45844</link>
    <description>&lt;P&gt;I'm seeing a sudden spike in data coming from our firewalls (edge and internal). On average an increase of 202% daily. It's caused a 42% surge in my license use. While we're chasing that down, I wanted to make sure that I'm not shipping things to frozen prematurely.&lt;/P&gt;

&lt;P&gt;That said: Indexes.conf snippet for networks&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[networks]
homePath   = volume:hot/networks/db
coldPath   = volume:cold/networks/colddb
thawedPath = $SPLUNK_DB/networks/thaweddb
maxTotalDataSizeMB = 2541818
homePath.maxDataSizeMB = 1694630
coldPath.maxDataSizeMB = 847188
#explicit path to frozen directory
coldToFrozenDir = /splunkdatafrozen/networks
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So I would expect a total footprint of hot/warm/cold to be 2.54 TB. &lt;/P&gt;

&lt;P&gt;My actual footprint seems to be....&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;:/splunkdatahot # du -hs networks/
213G    networks/
:/splunkdatacold # du -hs networks/
828G    networks/
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For a total of 1041 GB. &lt;/P&gt;

&lt;P&gt;What's frosting my cookies the wrong flavor is the face that my homePath.maxDataSizeMB is set to 1.694 TB, but hot/warm only has 213G, whereas coldPath.maxDataSizeMB  is 847 GB.  Cold use appears to be close to that, but Hot/Warm isn't close to that and the footprint is NOT increasing in hot/warm day to day.&lt;/P&gt;

&lt;P&gt;So what is it in indexes.conf config for this index we are doing wrong? &lt;/P&gt;

&lt;P&gt;Please note that while we're sorting out where we're actually going to put frozen, my hot/warm is larger than cold, so we had been trying to shoot for around a 70/30 split between hot/cold. (I know that's inverted but I have a large amount of SSD here - whereas we don't have SAN for cold or frozen - yet)&lt;/P&gt;

&lt;P&gt;Any insight appreciated.&lt;/P&gt;

&lt;P&gt;-The Admiral.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Oct 2016 16:11:58 GMT</pubDate>
    <dc:creator>Admiral_Marith</dc:creator>
    <dc:date>2016-10-06T16:11:58Z</dc:date>
    <item>
      <title>Why are we not seeing expected behavior for maxTotalDataSizeMB in indexes.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-we-not-seeing-expected-behavior-for-maxTotalDataSizeMB/m-p/235570#M45844</link>
      <description>&lt;P&gt;I'm seeing a sudden spike in data coming from our firewalls (edge and internal). On average an increase of 202% daily. It's caused a 42% surge in my license use. While we're chasing that down, I wanted to make sure that I'm not shipping things to frozen prematurely.&lt;/P&gt;

&lt;P&gt;That said: Indexes.conf snippet for networks&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[networks]
homePath   = volume:hot/networks/db
coldPath   = volume:cold/networks/colddb
thawedPath = $SPLUNK_DB/networks/thaweddb
maxTotalDataSizeMB = 2541818
homePath.maxDataSizeMB = 1694630
coldPath.maxDataSizeMB = 847188
#explicit path to frozen directory
coldToFrozenDir = /splunkdatafrozen/networks
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So I would expect a total footprint of hot/warm/cold to be 2.54 TB. &lt;/P&gt;

&lt;P&gt;My actual footprint seems to be....&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;:/splunkdatahot # du -hs networks/
213G    networks/
:/splunkdatacold # du -hs networks/
828G    networks/
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For a total of 1041 GB. &lt;/P&gt;

&lt;P&gt;What's frosting my cookies the wrong flavor is the face that my homePath.maxDataSizeMB is set to 1.694 TB, but hot/warm only has 213G, whereas coldPath.maxDataSizeMB  is 847 GB.  Cold use appears to be close to that, but Hot/Warm isn't close to that and the footprint is NOT increasing in hot/warm day to day.&lt;/P&gt;

&lt;P&gt;So what is it in indexes.conf config for this index we are doing wrong? &lt;/P&gt;

&lt;P&gt;Please note that while we're sorting out where we're actually going to put frozen, my hot/warm is larger than cold, so we had been trying to shoot for around a 70/30 split between hot/cold. (I know that's inverted but I have a large amount of SSD here - whereas we don't have SAN for cold or frozen - yet)&lt;/P&gt;

&lt;P&gt;Any insight appreciated.&lt;/P&gt;

&lt;P&gt;-The Admiral.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 16:11:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-we-not-seeing-expected-behavior-for-maxTotalDataSizeMB/m-p/235570#M45844</guid>
      <dc:creator>Admiral_Marith</dc:creator>
      <dc:date>2016-10-06T16:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why are we not seeing expected behavior for maxTotalDataSizeMB in indexes.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-we-not-seeing-expected-behavior-for-maxTotalDataSizeMB/m-p/235571#M45845</link>
      <description>&lt;P&gt;I think this may be your answer, from indexes.conf.spec&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;maxWarmDBCount = &amp;lt;nonnegative integer&amp;gt;
* The maximum number of warm buckets.
* Warm buckets are located in the &amp;lt;homePath&amp;gt; for the index.
* If set to zero, Splunk will not retain any warm buckets
  (will roll them to cold as soon as it can)
* Highest legal value is 4294967295
* Defaults to 300.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So when your warm bucket count hits 301, the oldest warm bucket is moved to cold - regardless of how much space you have.&lt;/P&gt;

&lt;P&gt;Also the maximum size parameter only applies to hot, warm and cold buckets. Frozen and thawed buckets do not count, and Splunk will not remove them.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 21:32:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-we-not-seeing-expected-behavior-for-maxTotalDataSizeMB/m-p/235571#M45845</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2016-10-06T21:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why are we not seeing expected behavior for maxTotalDataSizeMB in indexes.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-we-not-seeing-expected-behavior-for-maxTotalDataSizeMB/m-p/235572#M45846</link>
      <description>&lt;P&gt;So if I understand this correctly. that limit is on a per index basis, so if one sets it globally in [default] for the indexes.conf to say 1200, that's 1200 warm buckets per index.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 16:27:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-we-not-seeing-expected-behavior-for-maxTotalDataSizeMB/m-p/235572#M45846</guid>
      <dc:creator>Admiral_Marith</dc:creator>
      <dc:date>2016-10-28T16:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why are we not seeing expected behavior for maxTotalDataSizeMB in indexes.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-we-not-seeing-expected-behavior-for-maxTotalDataSizeMB/m-p/235573#M45847</link>
      <description>&lt;P&gt;Yes, this limit is per index. You can set it globally, or you can set it for each index differently.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Oct 2016 06:34:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-we-not-seeing-expected-behavior-for-maxTotalDataSizeMB/m-p/235573#M45847</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2016-10-30T06:34:49Z</dc:date>
    </item>
  </channel>
</rss>

