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