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

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...