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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...