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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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