# Metricbeat json parser fails to get Docker images

**URL:** https://discuss.elastic.co/t/metricbeat-json-parser-fails-to-get-docker-images/88825
**Category:** Beats
**Tags:** metricbeat
**Created:** [June 9, 2017, 10:16am UTC](https://discuss.elastic.co/t/metricbeat-json-parser-fails-to-get-docker-images/88825 "2017-06-09T10:16:59Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![sadok-f](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sadok-f/32/25595_2.png) [@sadok-f](https://discuss.elastic.co/u/sadok-f)
#### Post date: [June 9, 2017, 10:16am UTC](https://discuss.elastic.co/t/metricbeat-json-parser-fails-to-get-docker-images/88825/1 "2017-06-09T10:16:59Z")

</div>

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 !

---

<div class="post-metadata">

### Author: ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)
#### Post date: [June 9, 2017, 11:30am UTC](https://discuss.elastic.co/t/metricbeat-json-parser-fails-to-get-docker-images/88825/2 "2017-06-09T11:30:21Z")

</div>

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](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`

---

<div class="post-metadata">

### Author: ![sadok-f](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sadok-f/32/25595_2.png) [@sadok-f](https://discuss.elastic.co/u/sadok-f)
#### Post date: [June 9, 2017, 12:37pm UTC](https://discuss.elastic.co/t/metricbeat-json-parser-fails-to-get-docker-images/88825/3 "2017-06-09T12:37:35Z")

</div>

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

> <https://github.com/elastic/beats/issues/4483>

---

<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: [June 30, 2017, 10:17am UTC](https://discuss.elastic.co/t/metricbeat-json-parser-fails-to-get-docker-images/88825/4 "2017-06-30T10:17:25Z")

</div>

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