Filebeat for rotated logs: the old harvest always is handled before new harvest?

we need use filebeat to collect our application logs but the logs will rotated weekly. The log file is updated every 5 minutes
My question is: when a.log is rotated to a.log.1 and new file a.log is created, a.log.1 will be always read before a.log? I ask this question because I need keep the order the messages are written. If filebeat reads a.log before a.log1, then the order is incorrect.
Thanks!

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