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

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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...