<?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: Multi-site cluster , wrong Restrictive retention caused data delete. Anyway to stop splunk from deleting rest of teh data. in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Multi-site-cluster-wrong-Restrictive-retention-caused-data/m-p/303916#M11508</link>
    <description>&lt;P&gt;detailed steps also posted in &lt;A href="https://answers.splunk.com/answers/559610/wrong-retention-caused-buckets-to-freeze-in-cluste.html?childToView=700643#answer-700643"&gt;https://answers.splunk.com/answers/559610/wrong-retention-caused-buckets-to-freeze-in-cluste.html?childToView=700643#answer-700643&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Nov 2018 00:35:20 GMT</pubDate>
    <dc:creator>scheng_splunk</dc:creator>
    <dc:date>2018-11-13T00:35:20Z</dc:date>
    <item>
      <title>Multi-site cluster , wrong Restrictive retention caused data delete. Anyway to stop splunk from deleting rest of teh data.</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Multi-site-cluster-wrong-Restrictive-retention-caused-data/m-p/303914#M11506</link>
      <description>&lt;P&gt;Issue: Cluster Master with multi-site, by mistake wrong retention file was replicated and for the entire indexer in site1 Data got deleted.&lt;BR /&gt;
Now only peer in site2 has data.As soon as we realized this mistake we have shut down the splunk instance.&lt;BR /&gt;
What steps can we take to save as much as data possible.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2017 21:41:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Multi-site-cluster-wrong-Restrictive-retention-caused-data/m-p/303914#M11506</guid>
      <dc:creator>sat94541</dc:creator>
      <dc:date>2017-03-28T21:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-site cluster , wrong Restrictive retention caused data delete. Anyway to stop splunk from deleting rest of teh data.</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Multi-site-cluster-wrong-Restrictive-retention-caused-data/m-p/303915#M11507</link>
      <description>&lt;P&gt;Shutdown all of the indexers and modify   indexes.conf and change the retention back to higher value.&lt;/P&gt;

&lt;P&gt;Assuming  mistake was only on one peer (or one site), you'll lose buckets on that peer. The other buckets will still be around, but marked as frozen. &lt;BR /&gt;
You need to take the folloing steps to unmark these buckets from “frozen” to “non-frozen”&lt;/P&gt;

&lt;P&gt;i)Get a list of frozen buckets using curl commands like &lt;/P&gt;

&lt;P&gt;https:// :8089/services/cluster/master/buckets?filter=frozen=true&lt;BR /&gt;
  https://:8089/services/cluster/master/buckets?filter=frozen=true&amp;amp;filter=index=&lt;/P&gt;

&lt;P&gt;OR, from the CM you can run &lt;/P&gt;

&lt;P&gt;| rest services/cluster/master/buckets?filter=frozen=true&amp;amp;filter=index=ABCD&lt;/P&gt;

&lt;P&gt;NOTE:  Such rest call from CM can be used  as long as there’s not a million buckets that are frozen&lt;/P&gt;

&lt;P&gt;ii)Now for each of these bucket edit “bucket_info” and flip the  frozen flag from 1 to “”&lt;/P&gt;

&lt;P&gt;For example for bucket $SPLUNK_HOME/var/lib/splunk//db/db_1476118503_1476117359_6_6DC24692-777A-424E-AE9D-5FD23FAC185B/ bucket_info&lt;/P&gt;

&lt;P&gt;or from the CM you can run &lt;/P&gt;

&lt;P&gt;| rest services/cluster/master/buckets?filter=frozen=true&amp;amp;filter=index=ABCD&lt;/P&gt;

&lt;P&gt;NOTE:  Such rest call from CM can be used  as long as there’s not a million buckets that are frozen&lt;/P&gt;

&lt;P&gt;Change from&amp;gt;&lt;/P&gt;

&lt;P&gt;"indextime_et","indextime_lt","frozen_in_cluster"&lt;BR /&gt;
1475514557,"",1&lt;/P&gt;

&lt;P&gt;change to&amp;gt;&lt;BR /&gt;
"indextime_et","indextime_lt","frozen_in_cluster"&lt;BR /&gt;
1475514557,"",""&lt;/P&gt;

&lt;P&gt;Also for index, delete  $SPLUNK_HOME/var/lib/splunk//db/.bucketManifest&lt;BR /&gt;
After for all the bucket_info is fixed for all index and indexer, you may restart the indexers.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:25:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Multi-site-cluster-wrong-Restrictive-retention-caused-data/m-p/303915#M11507</guid>
      <dc:creator>rbal_splunk</dc:creator>
      <dc:date>2020-09-29T13:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-site cluster , wrong Restrictive retention caused data delete. Anyway to stop splunk from deleting rest of teh data.</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Multi-site-cluster-wrong-Restrictive-retention-caused-data/m-p/303916#M11508</link>
      <description>&lt;P&gt;detailed steps also posted in &lt;A href="https://answers.splunk.com/answers/559610/wrong-retention-caused-buckets-to-freeze-in-cluste.html?childToView=700643#answer-700643"&gt;https://answers.splunk.com/answers/559610/wrong-retention-caused-buckets-to-freeze-in-cluste.html?childToView=700643#answer-700643&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 00:35:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Multi-site-cluster-wrong-Restrictive-retention-caused-data/m-p/303916#M11508</guid>
      <dc:creator>scheng_splunk</dc:creator>
      <dc:date>2018-11-13T00:35:20Z</dc:date>
    </item>
  </channel>
</rss>

