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!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...