Reporting

Get the search id of a report execution from rest api

santosh_bwn
New Member

I am able to list down the saved searches using below API
//servicesNS/-/-/saved/searches//

How can i get the execution result of it. I understand that i need to get the sid but I am not able to get it. Tried using dispatch(/dispatch) in the URL but it does not work (Error: Invalid custom action for this internal handler (handler: savedsearch, custom action: dispatch, eai action: list).
[Adding history to the URL throws error and if i use the normal /services/saved/searches/ , it throws an error that it cannot find the report.]

Request help in this problem.

Thanks,
Santosh

Labels (1)
Tags (1)
0 Karma

codebuilder
Influencer

Either of these should provide the info that you're looking for, and a lot more:

| rest /services/search/jobs splunk_server=local

| rest /servicesNS/-/-/saved/searches splunk_server=local
----
An upvote would be appreciated and Accept Solution if it helps!
0 Karma
Get Updates on the Splunk Community!

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 ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...