Kafka output ERROR

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

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.

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

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