All Apps and Add-ons

REST API Modular Input: Dynamic custom URL arguments

ghee22
Engager

I am using the QualysGuard API v1 call for the user action log. The REST API call requires a date_from parameter to scope the data. I would like to make this call every 5 minutes, and have the date_from parameter be equal to (current time - 5 minutes).

Would it be possible to have this type of dynamic customer url argument?

Thank you.

Damien_Dallimor
Ultra Champion

You can plug in your own custom response handler to accomplish this.I have done this for many other REST endpoints.
Check out the docs, and look at rest_ta/bin/responsehandlers.py
If you get stuck, email me at ddallimore@splunk.com

Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In November, the Splunk Threat Research Team had one release of new security content via the Enterprise ...

Index This | Divide 100 by half. What do you get?

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

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

❄️ Celebrate the season with our December lineup of Community Office Hours, Tech Talks, and Webinars! ...