Http_poller and dynamic time variable

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:

1 Like

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.

1 Like

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