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!

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Splunk App for Anomaly Detection End of Life Announcement

Q: What is happening to the Splunk App for Anomaly Detection?A: Splunk is officially announcing the ...