I have need to pull from an API where the time variables (start and end) need to be specified for a specific range in UTC format.
What is the proper way to pull these from the system, as they are not environmental variables? Is it possible to embed a ruby script into the poller section so that these variables can be generated?
Example of the api call:
https://api.cloudflare.com/client/v4/zones/SITEKEY/logs/received?start=2019-04-18T13:30:00Z&end=2019-04-18T13:35:00Z