Splunk Dev

How to execute a saved search from a Python script?

jishelar
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

somesoni2
Revered Legend

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

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

Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...