Filebeat locks file when logstash is not runnig

Seems to be the day of RollingFileAppender: Log entries gets truncated on file rotation Or is this other thread somehow related / same company?

The part I still didn't understand about RollingFileAppender is when the initial file gets truncated / removed?