Knowledge Management

How to seperate indexer and search head?

efheem
Explorer

Hello,

I have installed two Splunk instances and I want to dedicate one as a search head and other as an Indexed. Please can someone guide me how to configure search head to use a separate Index server?

Thanks,
efheem

Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

On the search head, go to Settings->Distributed search. Click on "Add new". Enter the URI for the indexer, like "https://myindexer:8089", and the login credentials. Click Save. Done.

It's best practice for search heads to forward their logs to the indexers. Do that by putting the indexer into an outputs.conf file on the SH. Restart the SH for the change to take effect.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

efheem
Explorer

Hello @richgalloway, I have figured it out. I had to do a clean-up and reinstall as there was some left overs from my previous cluster configurations.

Many thanks for your help, I got it working now.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

On the search head, go to Settings->Distributed search. Click on "Add new". Enter the URI for the indexer, like "https://myindexer:8089", and the login credentials. Click Save. Done.

It's best practice for search heads to forward their logs to the indexers. Do that by putting the indexer into an outputs.conf file on the SH. Restart the SH for the change to take effect.

---
If this reply helps you, Karma would be appreciated.

efheem
Explorer

Thank you for your response, when I try to do this I get the following error, is this because I dont have a license?

"Encountered the following error while trying to save: Error while sending public key to search peer: Connection reset by peer"

Many thanks.

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 ...