Doc says , filebeat will poll up to var.initial_interval when the filebeat starts.
It will poll events up to this time period when the module starts.
However, I have used fresh docker image and started up but only polled up to var.interval .
I have looked at the code and it seems that var.initial_interval is used as default which is only used when value is empty or the template parsing fails . Which I understood as var.initial_interval is not used unless something is wrong with value .
Should I go with the doc or should I trust the code ?
So the code shows that since the.cursor.* is empty when the coffee first runs it does use the initial interval to poll. Then the cursor is updated and is used for subsequent API calls.
@legoguy1000
Thank you for the reply. Yeah your right. I was wrong.
Just tested again with DEBUG level log and confirmed that var.initial_interval is used.
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.