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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...