Splunk Dev

Handling big json response from REST API when using REST API Modular Input

beetaj
Explorer

Hi all,

Our REST API response in json is quite big and chunky about 6000 line (more than 1000 items and about 200KB).
I need to use this endpoint to get data in.
In the Data Input REST settings, I have specified json as the source type.
The problem is that just a small portion of the json response is being present as an event, and the fields are not extracted correctly.
Therefore I cannot use the json data, spath is not wotking etc.

IS there a way to get around this, or I need to have a smaller json response.
Please help.
Thanks.

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

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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