Developing for Splunk Enterprise
Highlighted

How to execute a saved search from a Python script?

Explorer

Hi,

I want to execute a saved search from a Python script.
Can somebody please tell me how to proceed with it?

We have the Splunk Python SDK. We can only list the saved searches, not run them.

Thanks,
Jitendra

Highlighted

Re: How to execute a saved search from a Python script?

SplunkTrust
SplunkTrust

See this (see section 'To run a saved search and display search results')

http://dev.splunk.com/view/python-sdk/SP-CAAAEK2#runsaved