<?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 happens to a bucket if all of the data within it is deleted? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/What-happens-to-a-bucket-if-all-of-the-data-within-it-is-deleted/m-p/290735#M11014</link>
    <description>&lt;P&gt;It's more of a data cleanup issue.  I was trying to avoid having to re-index a large chunk of data.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Mar 2018 11:26:31 GMT</pubDate>
    <dc:creator>caseyra</dc:creator>
    <dc:date>2018-03-27T11:26:31Z</dc:date>
    <item>
      <title>What happens to a bucket if all of the data within it is deleted?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/What-happens-to-a-bucket-if-all-of-the-data-within-it-is-deleted/m-p/290729#M11008</link>
      <description>&lt;P&gt;Just what the title says.  If I delete a bunch of data from an index and some of the buckets are now effectively empty (E.g. all of them have been marked as deleted), what happens to the bucket?  Is it removed or will it stick around until it is frozen?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 18:07:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/What-happens-to-a-bucket-if-all-of-the-data-within-it-is-deleted/m-p/290729#M11008</guid>
      <dc:creator>caseyra</dc:creator>
      <dc:date>2018-03-26T18:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: What happens to a bucket if all of the data within it is deleted?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/What-happens-to-a-bucket-if-all-of-the-data-within-it-is-deleted/m-p/290730#M11009</link>
      <description>&lt;P&gt;It depends what you did to delete the data: did you use the &lt;CODE&gt;delete&lt;/CODE&gt; command (which does not actually remove anything from disk), or &lt;CODE&gt;clean&lt;/CODE&gt;, or &lt;CODE&gt;remove index&lt;/CODE&gt;? &lt;/P&gt;

&lt;P&gt;If you have not already done so, I highly encourage you to read &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.3/Indexer/RemovedatafromSplunk"&gt;Remove indexes and indexed data&lt;/A&gt; in the Splunk Enterprise documentation.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 18:29:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/What-happens-to-a-bucket-if-all-of-the-data-within-it-is-deleted/m-p/290730#M11009</guid>
      <dc:creator>ChrisG</dc:creator>
      <dc:date>2018-03-26T18:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: What happens to a bucket if all of the data within it is deleted?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/What-happens-to-a-bucket-if-all-of-the-data-within-it-is-deleted/m-p/290731#M11010</link>
      <description>&lt;P&gt;It will stick around until the bucket is frozen.  The bucket mover uses the epoch times in the bucket (directory) name and  doesn't really inspect the contents of the bucket to determine whether it can be frozen or not. &lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 18:30:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/What-happens-to-a-bucket-if-all-of-the-data-within-it-is-deleted/m-p/290731#M11010</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2018-03-26T18:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: What happens to a bucket if all of the data within it is deleted?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/What-happens-to-a-bucket-if-all-of-the-data-within-it-is-deleted/m-p/290732#M11011</link>
      <description>&lt;P&gt;Just delete.  I'm not trying to remove the entire index.  I just wanted to know what would happen from a disk space perspective.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 18:47:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/What-happens-to-a-bucket-if-all-of-the-data-within-it-is-deleted/m-p/290732#M11011</guid>
      <dc:creator>caseyra</dc:creator>
      <dc:date>2018-03-26T18:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: What happens to a bucket if all of the data within it is deleted?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/What-happens-to-a-bucket-if-all-of-the-data-within-it-is-deleted/m-p/290733#M11012</link>
      <description>&lt;P&gt;O.K.  So, is there a way to determine if a bucket has only deleted entries?  And, if so, can we force the bucket to be rolled to frozen?  Or, is the file basically stuck there until it is frozen?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 18:49:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/What-happens-to-a-bucket-if-all-of-the-data-within-it-is-deleted/m-p/290733#M11012</guid>
      <dc:creator>caseyra</dc:creator>
      <dc:date>2018-03-26T18:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: What happens to a bucket if all of the data within it is deleted?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/What-happens-to-a-bucket-if-all-of-the-data-within-it-is-deleted/m-p/290734#M11013</link>
      <description>&lt;P&gt;The short answer is no, buckets will honor the configured retention policy settings and there is no way to force a freeze unless you are (temporarily) reducing the index configuration. I am not aware of any way to safely determine whether a given bucket contains only deleted events. &lt;BR /&gt;
The only way currently to physically delete events (buckets, really), is to run &lt;EM&gt;clean eventdata&lt;/EM&gt;, which will wipe everything for the given index, so you'll have to come up with a plan to export/collect any events you do not want to delete.&lt;/P&gt;

&lt;P&gt;What's your use case? Compliance? New EU regulations?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 19:25:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/What-happens-to-a-bucket-if-all-of-the-data-within-it-is-deleted/m-p/290734#M11013</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2018-03-26T19:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: What happens to a bucket if all of the data within it is deleted?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/What-happens-to-a-bucket-if-all-of-the-data-within-it-is-deleted/m-p/290735#M11014</link>
      <description>&lt;P&gt;It's more of a data cleanup issue.  I was trying to avoid having to re-index a large chunk of data.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 11:26:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/What-happens-to-a-bucket-if-all-of-the-data-within-it-is-deleted/m-p/290735#M11014</guid>
      <dc:creator>caseyra</dc:creator>
      <dc:date>2018-03-27T11:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: What happens to a bucket if all of the data within it is deleted?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/What-happens-to-a-bucket-if-all-of-the-data-within-it-is-deleted/m-p/290736#M11015</link>
      <description>&lt;P&gt;Follow-up question: I did a little digging with dbinspect and noticed that some buckets can have an eventCount of zero, but the rawSize and/or sizeOnDiskMB is non-zero.  This seems to indicate that these buckets have had all their records deleted, but are still taking up space on the system.  Is that correct?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 14:15:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/What-happens-to-a-bucket-if-all-of-the-data-within-it-is-deleted/m-p/290736#M11015</guid>
      <dc:creator>caseyra</dc:creator>
      <dc:date>2018-04-06T14:15:03Z</dc:date>
    </item>
  </channel>
</rss>

