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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...