Getting Data In

Retrieve JSON payload using REST API

pisanis
New Member

Hi,

I have an application that exposes performance metrics via a REST API. - that is - I can issue a HTTP REST message to this application, and it will return a JSON payload with that system's latest performance metrics.

What do I need to do in order to get SPLUNK to invoke this REST API periodically, and, retrieve this information, save it, and make t available in a dashboard ??

I'm new to splunk (as if that wasn't obvious :))

thanks - S

0 Karma

CMSchelin
Path Finder

I can't find it in the docs, either. I can, however, find an app for this in the store, "REST API Modular Input":

https://splunkbase.splunk.com/app/1546/

Which appears to totally work.

0 Karma

cmerriman
Super Champion

The only place i can find it - and for the life of me, i can't find it in the docs either - is if you go to Settings>Data Inputs>REST>New in the Web Interface. I'm sure it's saved off in the inputs.conf file but i haven't checked.

0 Karma
Get Updates on the Splunk Community!

Enhance Your Splunk App Development: New Tools & Support

UCC FrameworkAdd-on Builder has been around for quite some time. It helps build Splunk apps faster, but it ...

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 ...