<?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 do I delete events? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-delete-events/m-p/11670#M677</link>
    <description>&lt;P&gt;Yes, that´s what was stated in the original answer already.&lt;/P&gt;</description>
    <pubDate>Tue, 31 Jan 2012 12:50:29 GMT</pubDate>
    <dc:creator>tpaulsen</dc:creator>
    <dc:date>2012-01-31T12:50:29Z</dc:date>
    <item>
      <title>How do I delete events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-delete-events/m-p/11666#M673</link>
      <description>&lt;P&gt;I have some data in my index that I don't want.  How can I get rid of them?&lt;/P&gt;</description>
      <pubDate>Sat, 17 Apr 2010 04:13:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-delete-events/m-p/11666#M673</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2010-04-17T04:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I delete events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-delete-events/m-p/11667#M674</link>
      <description>&lt;P&gt;You can search for your unwanted events and then pipe them to delete.  For example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=wantedsource | delete
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It's a good idea to search for your events first and confirm that these events are the correct events.&lt;/P&gt;

&lt;P&gt;Important notes:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;The user running this command must have the delete capability or be assigned the can_delete role.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;This command does not reclaim disk space.  It merely masks the deleted events so that they are not returned as part of search results.  To reclaim disk space, you need to clean the index -- if all of your unwanted data is in one index then you can simply clean that index.  Or, set an automatic archival policy to, eventually, expire your data automatically but then you'll have wait for the trigger (size or age.)&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Sat, 17 Apr 2010 04:19:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-delete-events/m-p/11667#M674</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2010-04-17T04:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I delete events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-delete-events/m-p/11668#M675</link>
      <description>&lt;P&gt;Will the deleted masked events age out as well?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2012 12:00:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-delete-events/m-p/11668#M675</guid>
      <dc:creator>tpaulsen</dc:creator>
      <dc:date>2012-01-31T12:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I delete events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-delete-events/m-p/11669#M676</link>
      <description>&lt;P&gt;FYI:  You can only run the | delete command if you add the can_delete option in the role of the user.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2012 12:08:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-delete-events/m-p/11669#M676</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2012-01-31T12:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I delete events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-delete-events/m-p/11670#M677</link>
      <description>&lt;P&gt;Yes, that´s what was stated in the original answer already.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2012 12:50:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-delete-events/m-p/11670#M677</guid>
      <dc:creator>tpaulsen</dc:creator>
      <dc:date>2012-01-31T12:50:29Z</dc:date>
    </item>
  </channel>
</rss>

