<?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 Reduce an index size in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Reduce-an-index-size/m-p/17947#M106</link>
    <description>&lt;P&gt;Couldn't find exact clarification on a couple things regarding reducing an index size but assuming how I think it will work, hoping someone has the definitive answer out there.&lt;/P&gt;

&lt;P&gt;If say I have an index that has a max size setting of 50g.  Let's say this index is currently using 45g of it.&lt;/P&gt;

&lt;P&gt;I now want to reduce the max size for that index to 30g.  After restarting splunk will it:&lt;/P&gt;

&lt;P&gt;1) Purge data to get under the 30g limit?  (assuming also it would then remove older buckets as necessary to stay under that limit as new data comes in moving forward - much as my current indexes that have hit limits do).&lt;/P&gt;

&lt;P&gt;2) Start purging the oldest buckets first?  &lt;/P&gt;

&lt;P&gt;I assume on both it "does the right thing", but wanted to make sure there weren't any hidden caveats before doing this.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Scott&lt;/P&gt;</description>
    <pubDate>Fri, 24 Dec 2010 02:41:19 GMT</pubDate>
    <dc:creator>skippylou</dc:creator>
    <dc:date>2010-12-24T02:41:19Z</dc:date>
    <item>
      <title>Reduce an index size</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Reduce-an-index-size/m-p/17947#M106</link>
      <description>&lt;P&gt;Couldn't find exact clarification on a couple things regarding reducing an index size but assuming how I think it will work, hoping someone has the definitive answer out there.&lt;/P&gt;

&lt;P&gt;If say I have an index that has a max size setting of 50g.  Let's say this index is currently using 45g of it.&lt;/P&gt;

&lt;P&gt;I now want to reduce the max size for that index to 30g.  After restarting splunk will it:&lt;/P&gt;

&lt;P&gt;1) Purge data to get under the 30g limit?  (assuming also it would then remove older buckets as necessary to stay under that limit as new data comes in moving forward - much as my current indexes that have hit limits do).&lt;/P&gt;

&lt;P&gt;2) Start purging the oldest buckets first?  &lt;/P&gt;

&lt;P&gt;I assume on both it "does the right thing", but wanted to make sure there weren't any hidden caveats before doing this.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Fri, 24 Dec 2010 02:41:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Reduce-an-index-size/m-p/17947#M106</guid>
      <dc:creator>skippylou</dc:creator>
      <dc:date>2010-12-24T02:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reduce an index size</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Reduce-an-index-size/m-p/17948#M107</link>
      <description>&lt;P&gt;From my experience, the answer to both questions is "yes". Note that the "purge" will actually involve running the coldToFrozenScript on the oldest buckets (in the oldest-to-newest order) until the index gets under it's maxTotalDataSizeMB.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Dec 2010 06:15:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Reduce-an-index-size/m-p/17948#M107</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2010-12-24T06:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Reduce an index size</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Reduce-an-index-size/m-p/17949#M108</link>
      <description>&lt;P&gt;awesome, thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Dec 2010 05:14:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Reduce-an-index-size/m-p/17949#M108</guid>
      <dc:creator>skippylou</dc:creator>
      <dc:date>2010-12-25T05:14:36Z</dc:date>
    </item>
  </channel>
</rss>

