Harvester could not be started on new file: /usr/share/apps/logs/sample.log

I am getting following error while starting Filebeat container.

2020-10-01 ERROR log/input.go:519 Harvester could not be started on new file: /usr/share/apps/logs/sample.log, Err: registry already stopped

What's the reason for this error?