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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...