Security

How can I disable access to my indexers from a search head?

jrodman
Splunk Employee
Splunk Employee

In our organization we have 5 different search heads. One search head that is not under my control is overwhelming the search nodes that I'm responsible for. How can I disable the access to these nodes?

(Okay truth is, the above is a made up story, this is just trying to doc how you can -- if you need to -- disable access from the search head.)

1 Solution

jrodman
Splunk Employee
Splunk Employee

Check out: http://www.splunk.com/base/Documentation/4.1.6/Admin/Configuredistributedsearch#Disable_trust_relati...

Generally speaking, the search head pushes one half of a key pair to the search node (index node) over ssl when setting up the link. So long as the search node still has the public key, and the search head still has a matching private key, the search node will allow access from the search head.

To sever this trust link, you can delete the public key located in $SPLUNK_HOME/etc/auth/distServerKeys/ on the search node, which will cause it to no longer accept requests from the search head on restart. This will result in some errors logged on the search head as it will continue to try to connect.

View solution in original post

jrodman
Splunk Employee
Splunk Employee

Check out: http://www.splunk.com/base/Documentation/4.1.6/Admin/Configuredistributedsearch#Disable_trust_relati...

Generally speaking, the search head pushes one half of a key pair to the search node (index node) over ssl when setting up the link. So long as the search node still has the public key, and the search head still has a matching private key, the search node will allow access from the search head.

To sever this trust link, you can delete the public key located in $SPLUNK_HOME/etc/auth/distServerKeys/ on the search node, which will cause it to no longer accept requests from the search head on restart. This will result in some errors logged on the search head as it will continue to try to connect.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...