Security

Splunk Cloud- How do I run rest dispatch_rest_to_indexers?

KeithH
Path Finder

Hi.

I am trying to run this in splunk cloud:

|rest /services/search/jobs|search isRealTimeSearch=1

But getting this:

Restricting results of the "rest" operator to the local instance because you do not have the "dispatch_rest_to_indexers" capability

I have looked at users and roles and that capability is not in the list to choose.  It is in theSplunk Cloud documentation but simply isnt there to select.

Any ideas why?

Thanks, Keith

Labels (1)
0 Karma

faRRe
Splunk Employee
Splunk Employee

You can include in your searches splunk_server=local this will let you retrieve the information from the indexes without the need for the dispatch_rest_to_indexers since this capability is not added to the Cloud users due to security purposes.

0 Karma

Keith_wgtn
Explorer

Thanks - I have logged a case with Splunk.

 

0 Karma

somesoni2
Revered Legend
0 Karma

KeithH
Path Finder

Hi Somesoni2 - thanks for the reply.

I had seen the post you referred to and re-read it again but it doesnt helpe becuase:

1) the capability is not in the list to select when editing a role - see screenshot below

2) I cant edit the authorize.conf because I am running Splunk Cloud which means I cant access the folders on the server.

Any other suggestions????

Thanks, Keith

KeithH_0-1635464986846.png

 

0 Karma

somesoni2
Revered Legend

I believe its a known bug. I would contact Splunk support to confirm the same. See the bottom thread of this post: https://community.splunk.com/t5/Monitoring-Splunk/Warnings-on-Splunk-TCP-Port-Closures-Splunk-Cloud/...

Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...