Splunk Cloud Platform

Why can I not search from my SHC to my ES SH?

splunk_luis12
Path Finder

Hi folks,

 

How can I search data of my ES SH from the SHC (splunk cloud). Is there a way to do so?

I'm trying to use the | rest /servicesNS/-/-/saved/searches query from my SHC to search the saved searches from my ES SH but I was unable to do so, it seems there is now way of dispatching REST to the ES SH.

What about if I create a summary index with the output of the  | rest /servicesNS/-/-/saved/searches in the ES SH. Will I be able to search that data from my SHC?

I appreciate your help.

 

Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

You can't search your ES SH from your SHC because search heads are not search peers for other search heads (except for the Monitoring Console).

You should be able to run the query | rest /servicesNS/-/-/saved/searches from the MC and receive results from all search heads.

Assuming the SHC and ES SH share indexers, the SHC will be able to read a summary index written to by the ES SH.

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

View solution in original post

splunk_luis12
Path Finder

@richgalloway How can I double-check if my SHs share indexers?

Thanks in advance!

0 Karma

richgalloway
SplunkTrust
SplunkTrust

There are a few ways

  • Ask your Splunk admin
  • Go to Settings->Distributed Search on both  SHs and compare the search peers listed there.
  • Run a search on each SH and compare the splunk_server values returned
  • Check the topology in the Monitoring Console
---
If this reply helps you, Karma would be appreciated.

richgalloway
SplunkTrust
SplunkTrust

You can't search your ES SH from your SHC because search heads are not search peers for other search heads (except for the Monitoring Console).

You should be able to run the query | rest /servicesNS/-/-/saved/searches from the MC and receive results from all search heads.

Assuming the SHC and ES SH share indexers, the SHC will be able to read a summary index written to by the ES SH.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...