Splunk Dev

Polling a realtime saved search using Python SDK

tnkoehn
Path Finder

I would like to create a Python script using the Python SDK to initially start a saved realtime search which basically counts events, and then poll it every 5 seconds for updated results. Is this possible?

0 Karma
1 Solution

bobwalden
Explorer

Do you have the Python SDK? Have a look at the SDK's examples directory, for stail.py. it shows an example of a real-time search that may answer your question.

View solution in original post

0 Karma

bobwalden
Explorer

Do you have the Python SDK? Have a look at the SDK's examples directory, for stail.py. it shows an example of a real-time search that may answer your question.

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

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