<?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: Can I delete specific data from an index? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-delete-specific-data-from-an-index/m-p/197464#M39231</link>
    <description>&lt;P&gt;I thought that might be the case. We'll be more careful separating out indexes in future&lt;/P&gt;</description>
    <pubDate>Fri, 21 Mar 2014 16:02:39 GMT</pubDate>
    <dc:creator>dc99dc99</dc:creator>
    <dc:date>2014-03-21T16:02:39Z</dc:date>
    <item>
      <title>Can I delete specific data from an index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-delete-specific-data-from-an-index/m-p/197462#M39229</link>
      <description>&lt;P&gt;I know this has been asked before, but I'm hoping that I've misunderstood how deletion works.&lt;/P&gt;

&lt;P&gt;The situation is that we have a single main index with 500,000,000 items in it, and 300,000,000 of those are the result of someone accidentally writing their windows security logs from their production machines into the index.&lt;/P&gt;

&lt;P&gt;We're extremely low on disk space and in lieu of getting more provisioned, which is problematic I hoped I might be able to remove those entries out of the index somehow.&lt;/P&gt;

&lt;P&gt;I know I can run a delete, but I understand this won't remove the data from the index. I also realise I can delete a whole index using the CLI, or delete data from an index based on an expiry strategy.&lt;/P&gt;

&lt;P&gt;Can i remove data from an index that's mixed with other data from the same time period, or am I completely stuck? Perhaps I can move the data we want to keep to a new index and delete the erroneous data. Am I permanently stuck with those 300,000,000 junk rows?&lt;/P&gt;

&lt;P&gt;Please help&lt;/P&gt;

&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2014 14:27:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-delete-specific-data-from-an-index/m-p/197462#M39229</guid>
      <dc:creator>dc99dc99</dc:creator>
      <dc:date>2014-03-21T14:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can I delete specific data from an index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-delete-specific-data-from-an-index/m-p/197463#M39230</link>
      <description>&lt;P&gt;The only standard way of removing data other than deleting an index is to cross age- or size-based thresholds per index (default 500GB and several years), and &lt;CODE&gt;delete&lt;/CODE&gt; indeed doesn't clear up disk space... but you knew that already &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;In theory you could manually delete single buckets, if and only if that bucket contains nothing but undesired events... however, that's likely a risky procedure and certainly needs working backups to be feasible.&lt;/P&gt;

&lt;P&gt;Moving data to a new index selectively... I don't know of a way to do that. You could of course re-index from raw data.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2014 15:18:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-delete-specific-data-from-an-index/m-p/197463#M39230</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-03-21T15:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can I delete specific data from an index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-delete-specific-data-from-an-index/m-p/197464#M39231</link>
      <description>&lt;P&gt;I thought that might be the case. We'll be more careful separating out indexes in future&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2014 16:02:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-delete-specific-data-from-an-index/m-p/197464#M39231</guid>
      <dc:creator>dc99dc99</dc:creator>
      <dc:date>2014-03-21T16:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can I delete specific data from an index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-delete-specific-data-from-an-index/m-p/197465#M39232</link>
      <description>&lt;P&gt;In addition to separating indexes and introducing temporary indexes for testing purposes, I avoid using the default/main index entirely in production environments. That way any data added carelessly without specifying an index can safely be dropped by cleaning the index.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2014 20:58:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-delete-specific-data-from-an-index/m-p/197465#M39232</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-03-21T20:58:03Z</dc:date>
    </item>
  </channel>
</rss>

