Can a filebeat read a rotating file without missing or duplicate data ?
When log_file1 is full, it writes data to log_file2.
When log_file2 is full, it writes data to log_file1 again.
When rereading log_file1 from filebeat, the data is duplicated by reading the log twice.
What settings should I add, can I fix this?
Here is my filebeat.yml
- type: log