Getting Data In

How to ingest large volume of data to Splunk via REST API call without pagination?

arjitg
Explorer

Hi Team! I need to make a REST API GET call to ingest a fairly large amount of data to splunk and unfortunately, this REST API doesn't have a pagination logic. So, it literally dumps an entire set of some 50,000 records every time. So may I know which can be the best way to ingest only new data into Splunk? Is there any best practices to ingest only delta records (which are new) to the system? Thanks.   

0 Karma
1 Solution

isoutamo
SplunkTrust
SplunkTrust

Hi

Are you writing a modular inputs? If so, you should add a checkpoint method for bookkeeping what you have already ingesting and what is the next one.

If you are asking something else, then you must clarify your question.

r. Ismo

View solution in original post

arjitg
Explorer

Thanks @isoutamo! Yeah So this is a scripted input but certainly, I can implement the checkpoint logic to this solution. 

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

Are you writing a modular inputs? If so, you should add a checkpoint method for bookkeeping what you have already ingesting and what is the next one.

If you are asking something else, then you must clarify your question.

r. Ismo

Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

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

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...