All Apps and Add-ons

REST API Monitoring

rukshar
Explorer

We want to monitor and poll data from REST APIs and index the responses in Splunk.

We know that could be achieved by the Splunk base provided app REST API Modular Input but since it's a developer supported paid service application, we wanted to know is there any other alternative way to monitor the same in Splunk enterprise.

A quick response is highly appreciated. 

Labels (2)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

You can write your own scripted or modular input calling the REST API and returning the downloaded results. Or write a script calling the API by curl or similar way and write results to a file. Then you'd ingest the file contents.

0 Karma

rukshar
Explorer

Thanks for the response
any reference link to achieve the same would be helpful.

0 Karma

PickleRick
SplunkTrust
SplunkTrust

https://dev.splunk.com/enterprise/docs/developapps/manageknowledge/custominputs/modinputsoverview/

https://docs.splunk.com/Documentation/Splunk/latest/Data/Getdatafromscriptedinputs

Writing a custom script would be of course up to you. Monitoring an intermediate file is just normal file ingestion so nothing extraordinary.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...