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

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...

Global Splunk User Group Events: May + June 2026

Your Splunk Community Awaits: Discover Upcoming User Group Events Worldwide    Staying ahead in the fast-paced ...