Splunk Enterprise

how to remove an indexer from an indexer cluster

xsstest
Communicator

dear everyone.

I hava an indexer cluster. It's have. It has eight indexers and one master node.

now . I want to remove an indexer (peer)? What should I do?

I've tried the following steps, but I don't know if it's right

first : running splunk stop on that peer
second : running splunk remove cluster-peers -peers <guid>

but. When I start the indexer again, it appears again in the cluster

Tags (1)
0 Karma
1 Solution

s2_splunk
Splunk Employee
Splunk Employee
0 Karma

s2_splunk
Splunk Employee
Splunk Employee
0 Karma

xsstest
Communicator

Each respondent asks me to look at different documents. What is the correct answer?

0 Karma

s2_splunk
Splunk Employee
Splunk Employee

Well, have you read any of it? 😉

If you want to permanently decommission an indexer peer from your indexer cluster, i.e. you don't want to add it back later, follow the link I shared and read the documentation on "Take a peer down permanently".
It talks about using splunk offline --enforce-counts to decommission the peer.

Before shutting down, this command will ensure that the cluster is put into a healthy state, i.e. RF and SF are met by the remaining peers before it shuts down

And when it's shut down, why would you even try to restart it!? Maybe I am misunderstanding...

0 Karma

gcusello
SplunkTrust
SplunkTrust
0 Karma

xsstest
Communicator

@cusello why did I restart the peer and it again appeared in my index cluster? so I think it is not really removed from the cluster

0 Karma

xsstest
Communicator

@cusello Whether I should use splunk offline command

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...