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!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

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

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...