# Estrange results in metricbeat docker dashboard

**URL:** <https://discuss.elastic.co/t/estrange-results-in-metricbeat-docker-dashboard/204628>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [October 22, 2019, 10:42am UTC](https://discuss.elastic.co/t/estrange-results-in-metricbeat-docker-dashboard/204628 "2019-10-22T10:42:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![juanarmentia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juanarmentia/32/39624_2.png) [@juanarmentia](https://discuss.elastic.co/u/juanarmentia)\
**Post date:** [October 22, 2019, 10:42am UTC](https://discuss.elastic.co/t/estrange-results-in-metricbeat-docker-dashboard/204628/1 "2019-10-22T10:42:24Z")

</div>

Hi,

I have enabled the docker module of metricbeat and the dashboard shows estrange results. In the table of docker containers (left) shows 1 container, while in the number of containers element (right) shows 4 running. Why could happen this?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/7/4723652c72221eb2b252bddb972c4d58b9ac0c86.png)

Thanks in advanced!

---

<div class="post-metadata">

**Author:** ![pmercado](https://avatars.discourse-cdn.com/v4/letter/p/59ef9b/32.png) [@pmercado](https://discuss.elastic.co/u/pmercado)\
**Post date:** [October 22, 2019, 7:27pm UTC](https://discuss.elastic.co/t/estrange-results-in-metricbeat-docker-dashboard/204628/2 "2019-10-22T19:27:46Z")

</div>

This does not look consistent.

Can you execute some operations at elasticsearch?  
For the same range of time that is showing that data, search uniques `container.name` you find (this belong to the table visualization).

Then for that same range, get the max of `docker.info.containers.running` (that would belong to the rightmost visualization.

---

<div class="post-metadata">

**Author:** ![juanarmentia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juanarmentia/32/39624_2.png) [@juanarmentia](https://discuss.elastic.co/u/juanarmentia)\
**Post date:** [October 23, 2019, 7:39am UTC](https://discuss.elastic.co/t/estrange-results-in-metricbeat-docker-dashboard/204628/3 "2019-10-23T07:39:30Z")

</div>

Thanks for the replay! This is what I obtain:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/0/a09924f7d846c98c29547c15b275af0f1c37b5d1.png)

And 'docker ps' command in linux shows only 1 docker.

---

<div class="post-metadata">

**Author:** ![pmercado](https://avatars.discourse-cdn.com/v4/letter/p/59ef9b/32.png) [@pmercado](https://discuss.elastic.co/u/pmercado)\
**Post date:** [October 24, 2019, 8:45am UTC](https://discuss.elastic.co/t/estrange-results-in-metricbeat-docker-dashboard/204628/4 "2019-10-24T08:45:27Z")

</div>

Thanks @juanarmentia,

this looks like an issue interpreting what is being retrieved from the docker socket. Would you mind opening an issue [here](https://github.com/elastic/beats/issues/new?template=bug-report.md) including this info?

---

<div class="post-metadata">

**Author:** ![juanarmentia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juanarmentia/32/39624_2.png) [@juanarmentia](https://discuss.elastic.co/u/juanarmentia)\
**Post date:** [October 25, 2019, 7:46am UTC](https://discuss.elastic.co/t/estrange-results-in-metricbeat-docker-dashboard/204628/5 "2019-10-25T07:46:39Z")

</div>

I have performed some checks and I see that 'docker info' command returns the information that Kibana shows. So, the problem is not in Metricbeat, but it is in the information that docker returns.

Thanks!

---

<div class="post-metadata">

**Author:** ![pmercado](https://avatars.discourse-cdn.com/v4/letter/p/59ef9b/32.png) [@pmercado](https://discuss.elastic.co/u/pmercado)\
**Post date:** [October 25, 2019, 8:51am UTC](https://discuss.elastic.co/t/estrange-results-in-metricbeat-docker-dashboard/204628/6 "2019-10-25T08:51:25Z")

</div>

Thanks, will check anyway if there is a better way of labeling that visualization metric.

---

<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:** [November 22, 2019, 8:51am UTC](https://discuss.elastic.co/t/estrange-results-in-metricbeat-docker-dashboard/204628/7 "2019-11-22T08:51:58Z")

</div>

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