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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...