Dynamic input :Http_poller url

Hi all,

in my logstash file i use a http_poller a input.
input {
http_poller {
urls => {
url2020 => "http://xxxxx/XXXx/Xxxx/XXXXXXXstartDate=01/01/2020&endDate=30/09/2020"

	}
	request_timeout => 60
	schedule => { "every" ⇒ "24h"  }
	codec => "json"
}

}

i have 2 questions:

-How I can schedule logstash every day?

  • it's possible to make the endDate in the url , dynamic ( take the date of the system) ?

i need help please

I suggest you read this post.

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