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!

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

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...