My settings
I have a docker cluster in which supervisord
is writing logs to output.log
on a shared volume, from which Filebeat
is reading and shipping logs to ES. In order to prevent disk-full problems, I have configured supervisord
to rotate the logs, and I'm worried that Filebeat might miss out logs or send logs twice.
My problem
I would like Filebeat to consume the logs written to output.log
, without duplication or missing out log lines.
My question
How do I configure Filebeat to handle supervisord
log rotation?