<?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 to delete data in an index from a certain host? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-in-an-index-from-a-certain-host/m-p/282362#M53973</link>
    <description>&lt;P&gt;ah.. thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Feb 2016 17:10:04 GMT</pubDate>
    <dc:creator>klsio</dc:creator>
    <dc:date>2016-02-16T17:10:04Z</dc:date>
    <item>
      <title>How to delete data in an index from a certain host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-in-an-index-from-a-certain-host/m-p/282356#M53967</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I have a need to save space on an indexer server. &lt;/P&gt;

&lt;P&gt;In the main index, I have a data from a host that is not used and I would like to delete all of its data from the index.&lt;/P&gt;

&lt;P&gt;How can I delete data only from this host without deleting everything in the main index? I want to delete the data, not hide it.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 12:45:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-in-an-index-from-a-certain-host/m-p/282356#M53967</guid>
      <dc:creator>PIETRO_CENTANNI</dc:creator>
      <dc:date>2016-02-16T12:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete data in an index from a certain host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-in-an-index-from-a-certain-host/m-p/282357#M53968</link>
      <description>&lt;P&gt;Using this command. &lt;/P&gt;

&lt;P&gt;index='foo' | delete&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 12:53:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-in-an-index-from-a-certain-host/m-p/282357#M53968</guid>
      <dc:creator>klsio</dc:creator>
      <dc:date>2016-02-16T12:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete data in an index from a certain host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-in-an-index-from-a-certain-host/m-p/282358#M53969</link>
      <description>&lt;P&gt;use &lt;CODE&gt;clean&lt;/CODE&gt; command in splunk to  do it.&lt;BR /&gt;
from  splunk_home/splunk/bin/  repertory in CLI, &lt;BR /&gt;
run &lt;CODE&gt;./splunk help clean&lt;/CODE&gt; to understans how clean command work.&lt;BR /&gt;
 like this :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;./splunk clean eventdata -index  your_index_name -f
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Feb 2016 12:57:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-in-an-index-from-a-certain-host/m-p/282358#M53969</guid>
      <dc:creator>fdi01</dc:creator>
      <dc:date>2016-02-16T12:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete data in an index from a certain host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-in-an-index-from-a-certain-host/m-p/282359#M53970</link>
      <description>&lt;P&gt;Hello @PIETRO_CENTANNI ,&lt;/P&gt;

&lt;P&gt;Unfortunately, "splunk clean" is unable to delete specific data from index. It's all-or-nothing : The entire index has to be wiped, or none of it.&lt;BR /&gt;
Instead you can set the retention period in Splunk for the particular index and delete old events to free up some space (&lt;CODE&gt;frozenTimePeriodInSecs&lt;/CODE&gt;).&lt;/P&gt;

&lt;P&gt;See &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.2/Indexer/Setaretirementandarchivingpolicy"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.2/Indexer/Setaretirementandarchivingpolicy&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://wiki.splunk.com/Deploy:BucketRotationAndRetention"&gt;https://wiki.splunk.com/Deploy:BucketRotationAndRetention&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 13:13:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-in-an-index-from-a-certain-host/m-p/282359#M53970</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2016-02-16T13:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete data in an index from a certain host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-in-an-index-from-a-certain-host/m-p/282360#M53971</link>
      <description>&lt;P&gt;I have already a policy retention the I can't modify.&lt;BR /&gt;
So the unique solution is add space.&lt;/P&gt;

&lt;P&gt;Thank you and have a nice day&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 13:21:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-in-an-index-from-a-certain-host/m-p/282360#M53971</guid>
      <dc:creator>PIETRO_CENTANNI</dc:creator>
      <dc:date>2016-02-16T13:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete data in an index from a certain host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-in-an-index-from-a-certain-host/m-p/282361#M53972</link>
      <description>&lt;P&gt;This command does not actually delete anything; it just hides it.  Therefore, there is no impact upon disk space.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 15:48:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-in-an-index-from-a-certain-host/m-p/282361#M53972</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-02-16T15:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete data in an index from a certain host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-in-an-index-from-a-certain-host/m-p/282362#M53973</link>
      <description>&lt;P&gt;ah.. thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 17:10:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-in-an-index-from-a-certain-host/m-p/282362#M53973</guid>
      <dc:creator>klsio</dc:creator>
      <dc:date>2016-02-16T17:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete data in an index from a certain host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-in-an-index-from-a-certain-host/m-p/282363#M53974</link>
      <description>&lt;P&gt;This command delete all index. I have need delete a single host from index.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2016 08:23:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-in-an-index-from-a-certain-host/m-p/282363#M53974</guid>
      <dc:creator>PIETRO_CENTANNI</dc:creator>
      <dc:date>2016-02-17T08:23:14Z</dc:date>
    </item>
  </channel>
</rss>

