Getting Data In

How can we stop an indexer from indexer-master?

saurabh009
Path Finder

Hi,
We have situation where we can't login to one of the single indexer in the cluster and we need to stop it for maintenance purpose.
Is it possible to stop single indexer from indexer-master ?

0 Karma

dxu_splunk
Splunk Employee
Splunk Employee

we can offline an indexer through curl. dont forget to set the master in maintenance-mode so it won't create excess buckets for the temporarily-down-indexer

curl -k https://PEER:MGMT_PORT/services/cluster/slave/control/control/decommission -X POST -u admin:changeme

aromanauskas
Path Finder

If you are unable to login to the indexer and shutdown the entire splunk process. Your next best option is to put the indexer in detention.

From the master:

splunk edit cluster-config -auth : -peers -manual_detention on

https://docs.splunk.com/Documentation/Splunk/7.2.6/Indexer/Peerdetention

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...