<?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 limit the max size of a single index? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-the-max-size-of-a-single-index/m-p/627804#M107735</link>
    <description>&lt;P&gt;When buckets are added to that index, Splunk will verify the max size has not been exceeded.&amp;nbsp; If it has, older buckets will be frozen until the index size is within the limit.&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jan 2023 18:05:52 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2023-01-20T18:05:52Z</dc:date>
    <item>
      <title>How to limit the max size of a single index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-the-max-size-of-a-single-index/m-p/626642#M107629</link>
      <description>&lt;P&gt;I have a bunch of indexes, but one in particular I want to keep smaller. How do I do this?&lt;/P&gt;&lt;P&gt;From the docs it looks like this could work?&amp;nbsp; Adding&amp;nbsp;maxTotalDataSizeMB to the index config?&lt;/P&gt;&lt;P&gt;Anyknow know for sure?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/opt/splunk/etc/master-apps/_cluster/local/indexes.conf:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;[webapp1]&lt;/PRE&gt;&lt;PRE&gt;maxTotalDataSizeMB = &amp;lt;nonnegative integer&amp;gt; * The maximum size of an index (in MB). * If an index grows larger than the maximum size, the oldest data is frozen. * This parameter only applies to hot, warm, and cold buckets. It does not apply to thawed buckets. * CAUTION: This setting takes precedence over other settings like &lt;SPAN class=""&gt;'frozenTimePeriodInSecs'&lt;/SPAN&gt; with regard.....&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 10 Jan 2023 17:39:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-the-max-size-of-a-single-index/m-p/626642#M107629</guid>
      <dc:creator>zpasplunk</dc:creator>
      <dc:date>2023-01-10T17:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit the max size of a single index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-the-max-size-of-a-single-index/m-p/626685#M107632</link>
      <description>&lt;P&gt;Yes, that is the knob to turn.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 01:32:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-the-max-size-of-a-single-index/m-p/626685#M107632</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-01-11T01:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit the max size of a single index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-the-max-size-of-a-single-index/m-p/627769#M107732</link>
      <description>&lt;P&gt;After setting this, and pushing the cluster bundle to all nodes (they restart), what else do I have to do to get old data purged? I have a 500GB index which I now have set&amp;nbsp;maxTotalDataSizeMB for that index to 10GB. Does it happen automatically, or do I have to do something else to shrink it back down?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 15:37:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-the-max-size-of-a-single-index/m-p/627769#M107732</guid>
      <dc:creator>zpasplunk</dc:creator>
      <dc:date>2023-01-20T15:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit the max size of a single index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-the-max-size-of-a-single-index/m-p/627804#M107735</link>
      <description>&lt;P&gt;When buckets are added to that index, Splunk will verify the max size has not been exceeded.&amp;nbsp; If it has, older buckets will be frozen until the index size is within the limit.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 18:05:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-the-max-size-of-a-single-index/m-p/627804#M107735</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-01-20T18:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit the max size of a single index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-the-max-size-of-a-single-index/m-p/628020#M107769</link>
      <description>&lt;P&gt;Ok so the buckets have gone up by 1 and the data has gone up by 2GB. It's already way over my new limit. It doesn't appear to be honoring that, is there some other way to force this?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 17:46:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-the-max-size-of-a-single-index/m-p/628020#M107769</guid>
      <dc:creator>zpasplunk</dc:creator>
      <dc:date>2023-01-23T17:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit the max size of a single index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-the-max-size-of-a-single-index/m-p/628024#M107770</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/252802"&gt;@zpasplunk&lt;/a&gt;, how many indexers do you have in the cluster? I believe that maxTotalDataSizeMB is applied per indexer.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Another way to remove old data from an index is to set:&lt;/P&gt;&lt;PRE&gt;frozenTimePeriodInSecs = &amp;lt;number of seconds before data is rolled to frozen&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;One thing to note here is that each bucket contains data across a given time span (e.g. it could be 1 hour or 1 day) up to a maximum of the value set for&lt;/P&gt;&lt;PRE&gt;maxHotSpanSecs &lt;/PRE&gt;&lt;P&gt;&amp;nbsp; The earliest timestamp of an event (oldest event) and latest timestamp of an event (most recent) are in the name of the bucket (&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.3/Indexer/HowSplunkstoresindexes#Bucket_naming_conventions" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.3/Indexer/HowSplunkstoresindexes#Bucket_naming_conventions&lt;/A&gt;).&lt;BR /&gt;&lt;BR /&gt;Before a bucket is rolled to frozen the timestamp of the most recent event must be older than the value set for&amp;nbsp;frozenTimePeriodInSecs which means there can be cases where there is data that's older than you'd expect.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 18:37:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-the-max-size-of-a-single-index/m-p/628024#M107770</guid>
      <dc:creator>jamie00171</dc:creator>
      <dc:date>2023-01-23T18:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to limit the max size of a single index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-the-max-size-of-a-single-index/m-p/628025#M107771</link>
      <description>&lt;P&gt;Yes I was suspecting&amp;nbsp;frozenTimePeriodInSecs as well based on the docs.. Thx&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 18:42:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-limit-the-max-size-of-a-single-index/m-p/628025#M107771</guid>
      <dc:creator>zpasplunk</dc:creator>
      <dc:date>2023-01-23T18:42:24Z</dc:date>
    </item>
  </channel>
</rss>

