<?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: Reduce on disk database size after delete in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Reduce-on-disk-database-size-after-delete/m-p/62069#M12413</link>
    <description>&lt;P&gt;I haven't looked into this possibility, but i'm sure this could be scripted somehow. Or maybe an enhancement request should be filed to have some type of a gui to accomplish this.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Feb 2012 16:27:12 GMT</pubDate>
    <dc:creator>RicoSuave</dc:creator>
    <dc:date>2012-02-01T16:27:12Z</dc:date>
    <item>
      <title>Reduce on disk database size after delete</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Reduce-on-disk-database-size-after-delete/m-p/62067#M12411</link>
      <description>&lt;P&gt;I have run into a situation where a very large amount of data has been imported into the wrong index.  This index contains other data as well.  My current plan is to run a delete of the incorrectly imported data, create a new index, and reimport.  My concern is that a delete does not reduce the actual database size on disk.  It seems a clean will remove do what i need, but will also remove the other valid data.  Is there anyway, online or offline, to reduce the database size on disk without losing the other data?&lt;/P&gt;

&lt;P&gt;I guess I could always run my delete, then dump the remaining contents of the index to a file, remove the index, recreate and reimport.  I was just hoping for something easier.  Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2012 13:43:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Reduce-on-disk-database-size-after-delete/m-p/62067#M12411</guid>
      <dc:creator>kevinzona</dc:creator>
      <dc:date>2012-02-01T13:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Reduce on disk database size after delete</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Reduce-on-disk-database-size-after-delete/m-p/62068#M12412</link>
      <description>&lt;P&gt;Unfortunately, I don't think there is an "easier" way to do this. I have done the same. Just "delete" the events, output the remaining events by following this &lt;A href="http://splunk-base.splunk.com/answers/22421/how-to-export-large-volume-of-raw-data-out-of-a-index"&gt;post&lt;/A&gt;.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/RemovedatafromSplunk"&gt;Then shutdown splunk and clean the index&lt;/A&gt;.&lt;BR /&gt;
Then re import the events. &lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2012 15:58:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Reduce-on-disk-database-size-after-delete/m-p/62068#M12412</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2012-02-01T15:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Reduce on disk database size after delete</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Reduce-on-disk-database-size-after-delete/m-p/62069#M12413</link>
      <description>&lt;P&gt;I haven't looked into this possibility, but i'm sure this could be scripted somehow. Or maybe an enhancement request should be filed to have some type of a gui to accomplish this.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2012 16:27:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Reduce-on-disk-database-size-after-delete/m-p/62069#M12413</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2012-02-01T16:27:12Z</dc:date>
    </item>
  </channel>
</rss>

