# Kafka output ERROR

**URL:** <https://discuss.elastic.co/t/kafka-output-error/178271>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [April 24, 2019, 2:19pm UTC](https://discuss.elastic.co/t/kafka-output-error/178271 "2019-04-24T14:19:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Masdi](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@Masdi](https://discuss.elastic.co/u/Masdi)\
**Post date:** [April 24, 2019, 2:19pm UTC](https://discuss.elastic.co/t/kafka-output-error/178271/1 "2019-04-24T14:19:32Z")

</div>

Hello,

I'm monitoring my docker containers and I'm sending the output to my kafka topic. It seems to work but I have the following log when I'm running it:  
metricbeat | 2019-04-24T14:15:48.555Z ERROR kafka/client.go:131 Dropping event: unsupported float value: NaN

Besides, it doesn't seem to add new metrics in my kafka topic when my containers are running, I have 3 partitions and in each one there is 35 messages. Here is how I configured my output:

output.kafka:  
hosts: ["127.0.0.1:9092"]

topic: 'metrics'  
partition.round\_robin:  
reachable\_only: false

required\_acks: 1  
compression: gzip  
max\_message\_bytes: 1000000

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [April 26, 2019, 9:08am UTC](https://discuss.elastic.co/t/kafka-output-error/178271/2 "2019-04-26T09:08:21Z")

</div>

Could you share the Metricbeat version you are using and the modules configs? We've seen similar issues in the past in some metricsets, so it would be good to know what the exact metricsets are that you use.

---

<div class="post-metadata">

**Author:** ![Masdi](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@Masdi](https://discuss.elastic.co/u/Masdi)\
**Post date:** [April 26, 2019, 9:30am UTC](https://discuss.elastic.co/t/kafka-output-error/178271/3 "2019-04-26T09:30:17Z")

</div>

I'm using the latest version 7.0.0

Here is my docker module config:

- module: docker  
metricsets: ["cpu", "memory", "network"]  
hosts: ["unix:///var/run/docker.sock"]  
enabled: true  
period: 10s

---

<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:** [May 24, 2019, 9:30am UTC](https://discuss.elastic.co/t/kafka-output-error/178271/4 "2019-05-24T09:30:19Z")

</div>

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