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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...