Archive

How to seperate indexer and search head?

efheem
New Member

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, an upvote would be appreciated.

View solution in original post

0 Karma

efheem
New Member

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, an upvote would be appreciated.

View solution in original post

0 Karma

efheem
New Member

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