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!

Customer Experience | Splunk 2024: New Onboarding Resources

In 2023, we were routinely reminded that the digital world is ever-evolving and susceptible to new ...

Celebrate CX Day with Splunk: Take our interactive quiz, join our LinkedIn Live ...

Today and every day, Splunk celebrates the importance of customer experience throughout our product, ...

How to Get Started with Splunk Data Management Pipeline Builders (Edge Processor & ...

If you want to gain full control over your growing data volumes, check out Splunk’s Data Management pipeline ...