Open
Description
As explained in Event Dependent Configuration
Some of the configuration options in Logstash require the existence of fields in order to function. Because inputs generate events, there are no fields to evaluate within the input block—they do not exist yet!
Which is fair, but some plugins such as the http_poller run on intervals, and could theoretically access some state.
The end goal would be to say something like this:
With use of some globally maintained variable (not even sure the best way to do this)
url => "http://my-server.com/stats?time=%{now}"
Or by maintaining an environment variable outside of Logstash
url => "http://my-server.com/stats?time=${now}"