<?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 a specific data input &amp; its relating indexed events? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-delete-a-specific-data-input-its-relating-indexed/m-p/85553#M17780</link>
    <description>&lt;P&gt;One thing to mention here is that the delete oeration does &lt;EM&gt;NOT&lt;/EM&gt; free the disk space occupied by that particular events, It only makes the invisible to splunk queries.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jul 2012 11:25:33 GMT</pubDate>
    <dc:creator>traugust</dc:creator>
    <dc:date>2012-07-06T11:25:33Z</dc:date>
    <item>
      <title>How do I delete a specific data input &amp; its relating indexed events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-delete-a-specific-data-input-its-relating-indexed/m-p/85550#M17777</link>
      <description>&lt;P&gt;I have multiple data inputs going into one index.  Is there a way to delete only one of those data inputs and scrub its relating events from the Events Indexed total?&lt;/P&gt;

&lt;P&gt;I am aware of the clean command line approach, but it appears to limit me to eliminating the whole Event Index total or eliminating indexes only.&lt;/P&gt;

&lt;P&gt;Thanks for any assistance!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2011 19:12:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-delete-a-specific-data-input-its-relating-indexed/m-p/85550#M17777</guid>
      <dc:creator>sthao</dc:creator>
      <dc:date>2011-04-20T19:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I delete a specific data input &amp; its relating indexed events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-delete-a-specific-data-input-its-relating-indexed/m-p/85551#M17778</link>
      <description>&lt;P&gt;I believe you can use the | delete command. This is assuming you have the can delete role. &lt;BR /&gt;
For example, when i want to delete all events from one source within an index i do&lt;/P&gt;

&lt;P&gt;source=&lt;MYSOURCE&gt; | delete&lt;/MYSOURCE&gt;&lt;/P&gt;

&lt;P&gt;you should be able to also do&lt;/P&gt;

&lt;P&gt;index=&lt;YOUR_INDEX&gt; sourcetype=&lt;YOURSOURCETYPE&gt; | delete&lt;/YOURSOURCETYPE&gt;&lt;/YOUR_INDEX&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2011 19:48:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-delete-a-specific-data-input-its-relating-indexed/m-p/85551#M17778</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2011-04-20T19:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I delete a specific data input &amp; its relating indexed events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-delete-a-specific-data-input-its-relating-indexed/m-p/85552#M17779</link>
      <description>&lt;P&gt;Genius!  This worked for me Joetron!&lt;/P&gt;

&lt;P&gt;One thing to note for others viewing this is that I had my data input pointing to a server location and so it ended up looking like this in the Search line, while I used the | delete command:&lt;/P&gt;

&lt;P&gt;source="\\\\servername\\dir*" | delete&lt;/P&gt;

&lt;P&gt;Interesting how I had to add an extra backslash for each backslash used.  But it worked!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2011 20:53:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-delete-a-specific-data-input-its-relating-indexed/m-p/85552#M17779</guid>
      <dc:creator>sthao</dc:creator>
      <dc:date>2011-04-20T20:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I delete a specific data input &amp; its relating indexed events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-delete-a-specific-data-input-its-relating-indexed/m-p/85553#M17780</link>
      <description>&lt;P&gt;One thing to mention here is that the delete oeration does &lt;EM&gt;NOT&lt;/EM&gt; free the disk space occupied by that particular events, It only makes the invisible to splunk queries.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2012 11:25:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-delete-a-specific-data-input-its-relating-indexed/m-p/85553#M17780</guid>
      <dc:creator>traugust</dc:creator>
      <dc:date>2012-07-06T11:25:33Z</dc:date>
    </item>
  </channel>
</rss>

