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!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...