<?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 quickly remove indexes data from an indexer cluster in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-quickly-remove-indexes-data-from-an-indexer-cluster/m-p/336868#M5085</link>
    <description>&lt;P&gt;I believe @DalJeanis comment is a valid answer (not a comment), make sure there is no frozen path.&lt;BR /&gt;
hard limit either the size for something like 10gb or the time for lets say last hour then distribute to indexers in the cluster.&lt;BR /&gt;
all the data will roll very quickly out. all done.&lt;BR /&gt;
another way is -&amp;gt; put cluster in maintenance mode -&amp;gt; stop indexers -&amp;gt; remove data with &lt;CODE&gt;clean eventdata -index tomcat&lt;/CODE&gt; start all indexers -&amp;gt; disable maintenance mode.&lt;BR /&gt;
if you will do it one indexer at a time, you will not suffer down time&lt;BR /&gt;
hope it helps&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jun 2017 14:33:19 GMT</pubDate>
    <dc:creator>adonio</dc:creator>
    <dc:date>2017-06-07T14:33:19Z</dc:date>
    <item>
      <title>How to quickly remove indexes data from an indexer cluster</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-quickly-remove-indexes-data-from-an-indexer-cluster/m-p/336863#M5080</link>
      <description>&lt;P&gt;I have an indexer cluster with 8 indexers and a master node.&lt;/P&gt;

&lt;P&gt;Now, I need to remove an index data,  the index name is "tomcat"&lt;/P&gt;

&lt;P&gt;How to quickly remove index data from an indexer cluster?  distribute bundle?&lt;/P&gt;

&lt;P&gt;only one by one delete indexs data from each indexer?？&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 08:30:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-quickly-remove-indexes-data-from-an-indexer-cluster/m-p/336863#M5080</guid>
      <dc:creator>xsstest</dc:creator>
      <dc:date>2017-06-06T08:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to quickly remove indexes data from an indexer cluster</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-quickly-remove-indexes-data-from-an-indexer-cluster/m-p/336864#M5081</link>
      <description>&lt;P&gt;You can use the &lt;CODE&gt;| delete&lt;/CODE&gt; command to make the data inaccessible to the users. This won't free up space on the indexers though. &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.0/SearchReference/Delete"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.0/SearchReference/Delete&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;For this you need a user with &lt;CODE&gt;can_delete&lt;/CODE&gt; role(if you already don't have then create a temporary user and assign this role) and then run the query to return all data and delete. &lt;CODE&gt;index=tomcat earliest=0 | delete&lt;/CODE&gt; and delete the data.&lt;/P&gt;

&lt;P&gt;To permanently remove event data from a single index, type:&lt;BR /&gt;
   &lt;CODE&gt;$SPLUNK_HOME/bin/splunk clean eventdata -index &amp;lt;index_name&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Details are provided here - &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.1/Indexer/RemovedatafromSplunk"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.1/Indexer/RemovedatafromSplunk&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;For freeing up space, remove any monitors sending data to this index, remove index configuration from indexes.conf, push bundle and delete the index directory from the indexers &lt;CODE&gt;$SPLUNK_HOME/var/lib/splunk/tomcat&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 08:39:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-quickly-remove-indexes-data-from-an-indexer-cluster/m-p/336864#M5081</guid>
      <dc:creator>dineshraj9</dc:creator>
      <dc:date>2017-06-06T08:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to quickly remove indexes data from an indexer cluster</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-quickly-remove-indexes-data-from-an-indexer-cluster/m-p/336865#M5082</link>
      <description>&lt;P&gt;The delete command does not apply to indexer clusters&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 13:36:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-quickly-remove-indexes-data-from-an-indexer-cluster/m-p/336865#M5082</guid>
      <dc:creator>xsstest</dc:creator>
      <dc:date>2017-06-07T13:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to quickly remove indexes data from an indexer cluster</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-quickly-remove-indexes-data-from-an-indexer-cluster/m-p/336866#M5083</link>
      <description>&lt;P&gt;And I want to free up disk space&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 13:37:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-quickly-remove-indexes-data-from-an-indexer-cluster/m-p/336866#M5083</guid>
      <dc:creator>xsstest</dc:creator>
      <dc:date>2017-06-07T13:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to quickly remove indexes data from an indexer cluster</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-quickly-remove-indexes-data-from-an-indexer-cluster/m-p/336867#M5084</link>
      <description>&lt;P&gt;Seems like you could set that index to have a different retention schedule so the data would roll to cold and frozen quickly... assuming that it was being indexed into separate buckets, which would depend on configuration and whether you had originally set it up with any differences that would make the system think it ought to keep that index data separate.&lt;/P&gt;

&lt;P&gt;Otherwise, you might be stuck with re-indexing everything in order to de-aggregate the lump of underlying data.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 14:26:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-quickly-remove-indexes-data-from-an-indexer-cluster/m-p/336867#M5084</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-06-07T14:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to quickly remove indexes data from an indexer cluster</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-quickly-remove-indexes-data-from-an-indexer-cluster/m-p/336868#M5085</link>
      <description>&lt;P&gt;I believe @DalJeanis comment is a valid answer (not a comment), make sure there is no frozen path.&lt;BR /&gt;
hard limit either the size for something like 10gb or the time for lets say last hour then distribute to indexers in the cluster.&lt;BR /&gt;
all the data will roll very quickly out. all done.&lt;BR /&gt;
another way is -&amp;gt; put cluster in maintenance mode -&amp;gt; stop indexers -&amp;gt; remove data with &lt;CODE&gt;clean eventdata -index tomcat&lt;/CODE&gt; start all indexers -&amp;gt; disable maintenance mode.&lt;BR /&gt;
if you will do it one indexer at a time, you will not suffer down time&lt;BR /&gt;
hope it helps&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 14:33:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-quickly-remove-indexes-data-from-an-indexer-cluster/m-p/336868#M5085</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-06-07T14:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to quickly remove indexes data from an indexer cluster</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-quickly-remove-indexes-data-from-an-indexer-cluster/m-p/336869#M5086</link>
      <description>&lt;P&gt;New to splunk please help...&lt;/P&gt;

&lt;P&gt;I have a splunk cluster - 1 Master(also the license master), 3 node indexer cluster, 1 search head. I want to delete data in a specifi index&lt;/P&gt;

&lt;P&gt;Could you please verify if the following steps are correct to delete event data?&lt;/P&gt;

&lt;P&gt;On the Master Node : put cluster in maintenance mode&lt;BR /&gt;
stop indexers - splunk stop on each indexer&lt;BR /&gt;
remove data using the command splunk clean eventdate -index xyz - where do I run this command - on each indexer node ?&lt;BR /&gt;
start indexers - splunk start on each indexer&lt;BR /&gt;
On Master Node : disable Maintenance node&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 00:03:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-quickly-remove-indexes-data-from-an-indexer-cluster/m-p/336869#M5086</guid>
      <dc:creator>neltonk</dc:creator>
      <dc:date>2018-08-01T00:03:55Z</dc:date>
    </item>
  </channel>
</rss>

