Getting Data In

Is there a way for Splunk to Call Third Party REST APIs Dynamically?

premrajvs
Explorer

Requirement : Call REST APIs and ingest the data into Splunk to specified indexes

As of now, we are using Splunk Add on Builder Application to create apps for REST API calls and importing the data into Splunk.

Limitation with this approach : We are not able to call an API dynamically  or on ad-hoc basis only when needed. Team wants to have an UI to call the REST APIs dynamically and show this data into a dashboard.

Is there any way in Splunk to provide this capability ?

Labels (1)
0 Karma
1 Solution

premrajvs
Explorer

I think there is no app available to call APIs on adhoc basis. So, I am building my own custom app.

View solution in original post

bowesmana
SplunkTrust
SplunkTrust

Yes, you can use curl as part of SPL with this app

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

 

0 Karma

premrajvs
Explorer

I think there is no app available to call APIs on adhoc basis. So, I am building my own custom app.

richgalloway
SplunkTrust
SplunkTrust

Have you looked at the REST API Modular Input app (https://splunkbase.splunk.com/app/1546)?  It's not truly ad-hoc, but is more so than building code with AoB.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...