Filebeat dont send Logs to Kafka

Hi guys!

I have a question, what could be the reason that my Filebeat does not send log messages to the Kafka as soon as the time is behind.
(When I stop my virtual machine and like the start no logs arrive, only when I synchronize the time).

Now I have built a diversion via Logstash. I send the logs from Filebeat to Logstash and then into Kafka. Logstash has no problems with pausing.

I only use the most necessary output configurations:

output.kafka: 
  enabled: false
  hosts: ["<ip>:<port>"]
  topic: "example"
output.logstash:
  enabled: true
  hosts: ["<ip>:<port>"]

Maybe one of you has had this problem before or knows a lot about it.
I look forward to your ideas, tips or solutions.

Thank you very much!

Can you post your logs? Any errors there?