# Discrepancy between elastic agent and metricbeat data

**URL:** <https://discuss.elastic.co/t/discrepancy-between-elastic-agent-and-metricbeat-data/288968>\
**Category:** Beats\
**Tags:** docker, metricbeat, elastic-agent\
**Created:** [November 11, 2021, 8:57am UTC](https://discuss.elastic.co/t/discrepancy-between-elastic-agent-and-metricbeat-data/288968 "2021-11-11T08:57:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![seanziee](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seanziee/32/45151_2.png) [@seanziee](https://discuss.elastic.co/u/seanziee)\
**Post date:** [November 11, 2021, 8:57am UTC](https://discuss.elastic.co/t/discrepancy-between-elastic-agent-and-metricbeat-data/288968/1 "2021-11-11T08:57:50Z")

</div>

I'm currently trying to decide to use metricbeat or elastic-agent for my system and I'm finding that there is quite a significant difference in the memory reported for each system.

Here are the screenshots

 ![Screen Shot 2021-11-11 at 9.52.37 AM](https://us1.discourse-cdn.com/elastic/original/3X/b/a/ba6cbb2d71956bb56a122181eae49fd58b39e0ff.jpeg)

Here is what docker reports for that container using `docker stats`

 ![Screen Shot 2021-11-11 at 9.53.01 AM](https://us1.discourse-cdn.com/elastic/original/3X/a/a/aaacb7265e0b6030ea3bd564b62c12fed7915582.png)

Why is there this difference and should I assume that metricbeat is less accurate than the elastic-agent?

---

<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:** [December 9, 2021, 10:58am UTC](https://discuss.elastic.co/t/discrepancy-between-elastic-agent-and-metricbeat-data/288968/2 "2021-12-09T10:58:45Z")

</div>

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