Splunk Dev

Fetching Events from Splunk using Splunk SDK for Python

mohnish_saini
New Member

Hi,

My requirement is to fetch events from Splunk using Splunk SDK for Python. My search query is ready and I have to execute it using either of these APIs

oneshot
OR
export

Although, the above APIs are being well defined in Splunk documentation but I want a detailed explaination on when to use which one. And This will help me in deciding which one.

To be more specific, my requirement is get events from Splunk every hour.

Thanks

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 ...