How schedule periodic task but execute on Logstash instance starts?
I need to schedule tasks to execute every hour, but I need force re-execute this when Logstash service restarted.
How to do this?
Thank you!
How schedule periodic task but execute on Logstash instance starts?
I need to schedule tasks to execute every hour, but I need force re-execute this when Logstash service restarted.
How to do this?
Thank you!
Does your configuration have an input that has a schedule option? If so, what does it look like?
Hi,
My schedule setting is this.
5 min recorrence, but I would like execute job when logstash service restart.
Is there any way?
You could try adding a second http_poller input, with a schedule of at => "now". That would execute once when logstash started. You would have to replicate all the urls configuration.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.