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!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...