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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...