Deployment Architecture

How to reset corrupt peer (indexer) from cluster?

splunkreal
Motivator

Hello,

how to remove and clean corrupt peer (indexer) from cluster?

Should we stop it then after hardware maintenance delete all indexes data directories then start it again to resync whole data from other peers?

Thanks!

 

* If this helps, please upvote or accept solution if it solved *
Labels (3)
0 Karma
1 Solution

isoutamo
SplunkTrust
SplunkTrust

Then the easiest way it just add a new peer (if you have spare instance to take into use) and then remove old one. If you haven't a space node then just remove it first, fix disks and add it back as a new clean installation (remove splunk from it first!).

View solution in original post

splunkreal
Motivator

Hi @isoutamo if hard disks are corrupted for instance and need to remove all data then reset Splunk.

* If this helps, please upvote or accept solution if it solved *
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Then the easiest way it just add a new peer (if you have spare instance to take into use) and then remove old one. If you haven't a space node then just remove it first, fix disks and add it back as a new clean installation (remove splunk from it first!).

splunkreal
Motivator

OK so this requires to reinstall Splunk then. Thanks a lot!

* If this helps, please upvote or accept solution if it solved *
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

what you are meaning when you are saying that peer is corrupted?

Basically just add one node then remove old one if possible. Of course you can do it in another order too, but then you need more free spaces on current nodes.

Here is one (of many) old answer for this https://community.splunk.com/t5/Deployment-Architecture/Swap-indexers-from-indexer-cluster-with-new-...

r. Ismo

Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...