Building for the Splunk Platform

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!

Build Scalable Security While Moving to Cloud - Guide From Clayton Homes

 Clayton Homes faced the increased challenge of strengthening their security posture as they went through ...

Mission Control | Explore the latest release of Splunk Mission Control (2.3)

We’re happy to announce the release of Mission Control 2.3 which includes several new and exciting features ...

Cloud Platform | Migrating your Splunk Cloud deployment to Python 3.7

Python 2.7, the last release of Python 2, reached End of Life back on January 1, 2020. As part of our larger ...