Getting Data In

Splunk python API returning limited data

bekeran
New Member
I am currently using a python API call to retrieve data from Splunk. I am getting approximately 1 day of data when the argument passed is for 30 days or more or lower of the data shown in the Splunk console. Can someone help?
Tags (1)
0 Karma

venkatasri
SplunkTrust
SplunkTrust

Hi @bekeran 

Hope you must be using search/jobs API to query the splunk and get the results. Default is 10K , if you want to retrieve more than that set max_count to desired value. 30 days is huge for API to process depends of number of events you have in Splunk.

--

An upvote would be appreciated and Accept solution if this reply helps!

Tags (2)
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to July Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...