I have a file that I want to harvest many time with filebeat. That means the file has some logs (say 1000 logs lines) which don't change. Once filebeat has finish harvesting these 1000 logs, I want it to reharvest again those logs starting from the beginning.
I know that this can be done by deleting the file /var/lib/filebeat/registry but I don't want to do it that want. I was wondering if it is possible to configure filebeat so that it will reset all its offsets in the file /var/lib/filebeat/registry so that each time it will keep on sending the same logs.