Metricbeat json parser fails to get Docker images


(Sadok) #1

Hello,

I installed Metricbeat in debian server and it send all metrics to Eleasticsearch, however when I added docker module to see information about running containers and images, it works fine but I don't get any information about docker images, I checked metricbeat logs, it throws those messages:

2017-06-09T12:13:58+02:00 WARN Can not index event (status=400): {"type":"mapper_parsing_exception","reason":"object mapping for [docker.image.tags] tried to parse field [null] as object, but found a concrete value"}

Metricbeat version: 5.4.1

docker version:

Client:
Version: 17.05.0-ce
API version: 1.29
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:10:54 2017
OS/Arch: linux/amd64

Server:
Version: 17.05.0-ce
API version: 1.29 (minimum version 1.12)
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:10:54 2017
OS/Arch: linux/amd64
Experimental: false

Any idea how fix it?

Thank you !


(Carlos PĂ©rez Aradros) #2

Hi @sadok-f,

This looks like a bug to me, I would say we have a parsing error while retrieving image tags from the API. Could you open a new issue in our github so we can dig more on this? https://github.com/elastic/beats/issues

It would be awesome if you can give more details on your existing setup, specially around images, something like dumping: docker images


(Sadok) #3

Thank you for your response,
I just created an issue on GitHub:


(system) #4

This topic was automatically closed after 21 days. New replies are no longer allowed.