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!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...