logstash-plugins / logstash-input-http_poller

Create Logstash events by polling HTTP endpoints!
https://www.elastic.co/guide/en/logstash/current/plugins-inputs-http_poller.html
Apache License 2.0
43 stars 65 forks source link

Terminate after triggered once ("in" and "at" jobs) #105

Open synFK opened 5 years ago

synFK commented 5 years ago

Apart from the name Http_poller, I think it would be more intuitive to stop the plugin after it has been scheduled by an in job or an at job respectively. For instance if one configures the plugin to run in 1 minute from now (schedule => { "in" => "1m" } the plugin should stop after the request instead of doing nothing forever. What do you think?