Splunk Search

Why don't I see my three Splunk servers via the rest call?

danielbb
Motivator

I'm running the following command -

| rest /services/server/sysinfo

And it shows the indexer and the search head but not the heavy forwarder.

What can it be? 

Tags (1)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

If you want to see also those HFs you must to add those as a search peers to your SH. Usually this shouldn’t do any other SHs than MC. In MC just add those as indexers and add separate own group like HFs to those. Then you can query from those by using that group on rest. 

danielbb
Motivator

Thank you @isoutamo, when trying to put the HF as a search peer in the SH and it gives this error -  
Encountered the following error while trying to save: Status 401 while sending public key to search peer https://<ip>:8089: Unauthorized

0 Karma

isoutamo
SplunkTrust
SplunkTrust
When you are adding search peer you must have/know admin level account on that HF. Then use it when you add a new peer.
0 Karma

richgalloway
SplunkTrust
SplunkTrust

The rest command is processed by the local search head and all search peers, but not by heavy forwarders.  That's the way searches work.  No query is sent to a HF.

---
If this reply helps you, Karma would be appreciated.
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!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...