All Apps and Add-ons

How to dynamically call an REST API ?

haryoken
New Member

I have a database, which store the data of a phone call. Whenever a phone call comes, Database will be updated automatically.
I am also using an add-on "REST API Modular Input" to make a GET request with argument=phonenumber (retrieved from the DB above) to retrieve a "scraperScore" with JSON format in return.
Is it possible for the REST request to automatically made whenever a phone call come?

0 Karma

hhGA
Communicator

Hi,

This might be a bit overly complex but - in the absence of any other answers - here's an idea.

I would set up a Splunk alert which is fired for each new phone call record coming into Splunk. The script would query the REST API and dump (and format if needed) the results to a folder which is being monitored by Splunk.

A bash script containing a curl command would do the job.

Hope this helps.

0 Karma
Get Updates on the Splunk Community!

Application management with Targeted Application Install for Victoria Experience

  Experience a new era of flexibility in managing your Splunk Cloud Platform apps! With Targeted Application ...

Index This | What goes up and never comes down?

January 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Splunkers, Pack Your Bags: Why Cisco Live EMEA is Your Next Big Destination

The Power of Two: Splunk + Cisco at "Ludicrous Scale"   You know Splunk. You know Cisco. But have you seen ...