-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Labels
Description
Logstash information:
bin/logstash --version
Using bundled JDK
logstash 7.12.0
Logstash expanded from tar
Ran via command line
5.11.14-1-MANJARO SMP PREEMPT x86_64 GNU/Linux
Description of the problem including expected versus actual behavior:
schedule => {
every => "60"
}
My understanding is that every will execute on start and then every 60 seconds after. Currently, in logstash 7.12 it only starts executing after the 60 seconds is up. It does not perform the first poll on start.
input {
http_poller {
urls => {
statc => {
method => get
url => "https://www.statc.json?lang=E"
headers => {
Accept => "application/json"
}
}
}
request_timeout => 60
schedule => {
every => "60"
}
codec => "plain"
}
}