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!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...