<?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 from an index within a index cluster using SmartStore? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-from-an-index-within-a-index-cluster-using/m-p/575608#M101749</link>
    <description>&lt;P&gt;Ciao&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for getting back to me.&lt;/P&gt;&lt;P&gt;Success!&lt;/P&gt;&lt;P&gt;Initially this did not work; the events continued to be returned from a search (I did wait 30 mins).&amp;nbsp; However, I had taken a tarball of the &lt;FONT face="courier new,courier"&gt;old_data&lt;/FONT&gt; directory on each indexer (plus &lt;FONT face="courier new,courier"&gt;old_data.dat&lt;/FONT&gt;) before starting.&amp;nbsp; So I:&lt;/P&gt;&lt;P&gt;- once again removed the old_data index from the cluster (i.e. updated &lt;FONT face="courier new,courier"&gt;indexes.conf&lt;/FONT&gt; from the CM).&lt;/P&gt;&lt;P&gt;- restored the tarball on each indexer.&lt;/P&gt;&lt;P&gt;- re-added the index back to &lt;FONT face="courier new,courier"&gt;indexes.conf&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;- searched the data and saw the events as normal.&lt;/P&gt;&lt;P&gt;- edited &lt;FONT face="courier new,courier"&gt;indexes.conf&lt;/FONT&gt; setting&amp;nbsp;&lt;FONT face="courier new,courier"&gt;FrozenTimePeriodInSecs = 0&lt;/FONT&gt; for the old_data index.&lt;/P&gt;&lt;P&gt;However, I still saw the data with a search (but perhaps I should have waited longer, I beleive I waited 10+ minutes).&amp;nbsp; So I then changed&amp;nbsp;&lt;FONT face="courier new,courier"&gt;FrozenTimePeriodInSecs = 1&lt;/FONT&gt;.&amp;nbsp; Perhaps a coincidence, but finally, the search returned no events.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Grazie!&lt;/P&gt;&lt;P&gt;Jamie.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Nov 2021 09:37:22 GMT</pubDate>
    <dc:creator>Jamie</dc:creator>
    <dc:date>2021-11-19T09:37:22Z</dc:date>
    <item>
      <title>How to delete data from an index within a index cluster using SmartStore?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-from-an-index-within-a-index-cluster-using/m-p/575506#M101726</link>
      <description>&lt;P&gt;Hello.&amp;nbsp; I am running 8.2.2 on Linux.&amp;nbsp; We have four clustered indexers and are using SmartStore.&amp;nbsp; I would like to&amp;nbsp;empty an index (and recover the disk space).&amp;nbsp; I have thus chosen to remove the old_data index from the cluster, then add it back again.&amp;nbsp; I have performed these steps:&lt;BR /&gt;&lt;BR /&gt;1. Stop any data being sent to the index.&lt;BR /&gt;2. Edit indexes.conf and delete the index's stanza (via the CM) then apply the changes to the peer nodes (each restarts).&lt;BR /&gt;3. Remove the index's directories from each peer node.&lt;BR /&gt;4. Check on the SHC for events in the index (index=old_data); no events are returned (all time).&lt;BR /&gt;5. Once the cluster shows that all indexes are 'green', re-add the index as normnal (editing indexes.conf again and applying the update).&lt;/P&gt;&lt;P&gt;However, now searching the index on the SHC returns some/most of the events.&amp;nbsp;&amp;nbsp;My guess is that the cache manager / the S3 storage also needs to be purged.&amp;nbsp; &amp;nbsp;If so, how is this best achieved?&lt;/P&gt;&lt;P&gt;I have avoided using &lt;FONT face="courier new,courier"&gt;index=old_data | delete&lt;/FONT&gt; because I understand this will only mask the data from searches (and I want the disk space back too).&lt;/P&gt;&lt;P&gt;Many thanks for your time.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 17:26:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-from-an-index-within-a-index-cluster-using/m-p/575506#M101726</guid>
      <dc:creator>Jamie</dc:creator>
      <dc:date>2021-11-18T17:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete data from an index within a index cluster using SmartStore?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-from-an-index-within-a-index-cluster-using/m-p/575591#M101748</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/238315"&gt;@Jamie&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;put = 0 the retention for the index the you want to clean, setting&amp;nbsp; on the Master Node in the related stanza of indexes.conf:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FrozenTimePeriodInSecs = 0&lt;/LI-CODE&gt;&lt;P&gt;then save and push the configurations to the indexers.&lt;/P&gt;&lt;P&gt;after few minutes, when the index is cleaned, you can set again the retention to the correct value.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 07:41:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-from-an-index-within-a-index-cluster-using/m-p/575591#M101748</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-11-19T07:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete data from an index within a index cluster using SmartStore?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-from-an-index-within-a-index-cluster-using/m-p/575608#M101749</link>
      <description>&lt;P&gt;Ciao&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for getting back to me.&lt;/P&gt;&lt;P&gt;Success!&lt;/P&gt;&lt;P&gt;Initially this did not work; the events continued to be returned from a search (I did wait 30 mins).&amp;nbsp; However, I had taken a tarball of the &lt;FONT face="courier new,courier"&gt;old_data&lt;/FONT&gt; directory on each indexer (plus &lt;FONT face="courier new,courier"&gt;old_data.dat&lt;/FONT&gt;) before starting.&amp;nbsp; So I:&lt;/P&gt;&lt;P&gt;- once again removed the old_data index from the cluster (i.e. updated &lt;FONT face="courier new,courier"&gt;indexes.conf&lt;/FONT&gt; from the CM).&lt;/P&gt;&lt;P&gt;- restored the tarball on each indexer.&lt;/P&gt;&lt;P&gt;- re-added the index back to &lt;FONT face="courier new,courier"&gt;indexes.conf&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;- searched the data and saw the events as normal.&lt;/P&gt;&lt;P&gt;- edited &lt;FONT face="courier new,courier"&gt;indexes.conf&lt;/FONT&gt; setting&amp;nbsp;&lt;FONT face="courier new,courier"&gt;FrozenTimePeriodInSecs = 0&lt;/FONT&gt; for the old_data index.&lt;/P&gt;&lt;P&gt;However, I still saw the data with a search (but perhaps I should have waited longer, I beleive I waited 10+ minutes).&amp;nbsp; So I then changed&amp;nbsp;&lt;FONT face="courier new,courier"&gt;FrozenTimePeriodInSecs = 1&lt;/FONT&gt;.&amp;nbsp; Perhaps a coincidence, but finally, the search returned no events.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Grazie!&lt;/P&gt;&lt;P&gt;Jamie.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 09:37:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-from-an-index-within-a-index-cluster-using/m-p/575608#M101749</guid>
      <dc:creator>Jamie</dc:creator>
      <dc:date>2021-11-19T09:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete data from an index within a index cluster using SmartStore?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-from-an-index-within-a-index-cluster-using/m-p/575617#M101750</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/238315"&gt;@Jamie&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 11:18:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-data-from-an-index-within-a-index-cluster-using/m-p/575617#M101750</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-11-19T11:18:11Z</dc:date>
    </item>
  </channel>
</rss>

