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!

New Year, New Changes for Splunk Certifications

As we embrace a new year, we’re making a small but important update to the Splunk Certification ...

[Puzzles] Solve, Learn, Repeat: Unmerging HTML Tables

[Puzzles] Solve, Learn, Repeat: Unmerging HTML TablesFor a previous puzzle, I needed some sample data, and ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...