# Filebeat dont send Logs to Kafka

**URL:** https://discuss.elastic.co/t/filebeat-dont-send-logs-to-kafka/284200
**Category:** Beats
**Tags:** filebeat
**Created:** [September 14, 2021, 3:01pm UTC](https://discuss.elastic.co/t/filebeat-dont-send-logs-to-kafka/284200 "2021-09-14T15:01:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Robsen\_Inc](https://avatars.discourse-cdn.com/v4/letter/r/d26b3c/32.png) [@Robsen\_Inc](https://discuss.elastic.co/u/Robsen_Inc)
#### Post date: [September 14, 2021, 3:01pm UTC](https://discuss.elastic.co/t/filebeat-dont-send-logs-to-kafka/284200/1 "2021-09-14T15:01:07Z")

</div>

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:

```auto
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!

---

<div class="post-metadata">

### Author: ![legoguy1000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/legoguy1000/32/54301_2.png) [@legoguy1000](https://discuss.elastic.co/u/legoguy1000)
#### Post date: [September 15, 2021, 12:19am UTC](https://discuss.elastic.co/t/filebeat-dont-send-logs-to-kafka/284200/2 "2021-09-15T00:19:39Z")

</div>

Can you post your logs? Any errors there?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [October 13, 2021, 2:20am UTC](https://discuss.elastic.co/t/filebeat-dont-send-logs-to-kafka/284200/3 "2021-10-13T02:20:27Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
