Deployment Architecture

Why is my REST call from one search head to another search head not returning anything?

net1993
Path Finder

Hello

I have a REST call and I am on SH1, and I am trying to follow the REST, but there comes nothing from SH2. Where is the data I am interested located at?

rest :

| rest splunk_server=* count=0 /services/saved/searches 

the same rest is working ok if executed locally on SH..

Anybody experience the same issue and have a clever solution?

Thanks.

Tags (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Search heads don't search other search heads (OK, there are exceptions, but they don't apply here). Searches are executed by indexers. If you need data from SH2 then you need to sign in to SH2.

---
If this reply helps you, an upvote would be appreciated.

View solution in original post

0 Karma

sohailmohammed
Explorer

Hello there,

I am facing the same issue here.. I get different results when I run a rest call. 
For example I ran a rest command to bring all the dashboards on h1 search head it brings 300 to me and for my colleague it brings 305 on same h1 search head. What may be the problem ?

Also if I get 300 results on SH H1, I see different count on H2 with 310 results.. what is the issue here for this inconsistencies ? 

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Search heads don't search other search heads (OK, there are exceptions, but they don't apply here). Searches are executed by indexers. If you need data from SH2 then you need to sign in to SH2.

---
If this reply helps you, an upvote would be appreciated.
0 Karma
*NEW* Splunk Love Promo!
Snag a $25 Visa Gift Card for Giving Your Review!

It's another Splunk Love Special! For a limited time, you can review one of our select Splunk products through Gartner Peer Insights and receive a $25 Visa gift card!

Review:





Or Learn More in Our Blog >>