Http_poller and dynamic time variable

(Larry G Wapnitsky ) #1

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:


You cannot do that with an http_poller input. However, you could use http_poller just for its scheduler (or exec, or something else that has a scheduler option), then use an http filter to make the request.

(system) closed #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.