Getting Data In

How to get data from App that offers REST API

chtamp
New Member

Hello Team, 
I have to collect and import data into Splunk, provided by a REST API.
How would it be possible to do?

Scenario:
As soon as I receive a notification that data is ready I need to execute the REST call to get the data.
Data is in json format and these data have to end up in Splunk.

Do I need to implement something custom, to save the response into a file for Splunk Fw to read? 
or does Splunk offer something that works out of the box?

Thank you in advance, 
chtamp

  

Labels (2)
0 Karma

venkatasri
SplunkTrust
SplunkTrust

Hi @chtamp 

You can try this modinput - REST API Modular Input | Splunkbase

Otherwise you have to write custom logic to get notified by App and initiate querying the REST API and ingest to Splunk via HEC token with acknowledgement mode enabled.

----------------------------------------

An upvote would be appreciated if it helps!

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...