# Rabbitmq plugin with metricbeat not showing correct data

**URL:** https://discuss.elastic.co/t/rabbitmq-plugin-with-metricbeat-not-showing-correct-data/375607
**Category:** Beats
**Tags:** elastic-stack-monitoring, metricbeat
**Created:** [March 9, 2025, 11:17am UTC](https://discuss.elastic.co/t/rabbitmq-plugin-with-metricbeat-not-showing-correct-data/375607 "2025-03-09T11:17:27Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Amol\_Nagotkar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amol_nagotkar/32/124188_2.png) [@Amol\_Nagotkar](https://discuss.elastic.co/u/Amol_Nagotkar)
#### Post date: [March 9, 2025, 11:17am UTC](https://discuss.elastic.co/t/rabbitmq-plugin-with-metricbeat-not-showing-correct-data/375607/1 "2025-03-09T11:17:27Z")

</div>

Hi all,

I have added rabbitplugin using metricbeat.  
file -\> /etc/metricbeat/modules.d/rabbitmq.yml

```auto
# Module: rabbitmq
# Docs: https://www.elastic.co/guide/en/beats/metricbeat/8.16/metricbeat-module-rabbitmq.html

- module: rabbitmq
  metricsets: ["node", "queue", "connection", "exchange"]
  enabled: true
  period: 10s
  hosts: ["ip_address:18762"]
  username: "username"
  password: "password"

```

dashboard-\>

 ![Screenshot from 2025-03-09 16-34-32](https://us1.discourse-cdn.com/elastic/original/3X/7/d/7d5d43cfa50321148fd168f4c6bcffa4942f4791.png)

my rabbitmq management dashboard -\>

 ![Screenshot from 2025-03-09 16-35-08](https://us1.discourse-cdn.com/elastic/original/3X/7/7/7705c24962f71294943cfd693bd84a45b140e326.png)

as you can see data is not matching. channels, consumers count is not matched.  
**currently there is no data in queue, still it is showing 5 count somehow.**  
Please let me know what else i have to do ?

Thank you in advance.

---

<div class="post-metadata">

### Author: ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)
#### Post date: [March 18, 2025, 5:41pm UTC](https://discuss.elastic.co/t/rabbitmq-plugin-with-metricbeat-not-showing-correct-data/375607/2 "2025-03-18T17:41:39Z")

</div>

> [@Amol\_Nagotkar](#):
>
> `period: 10s`

I'm not a RabbitMQ expert by any means, but could this be down to a regular sending delay? The `period` is set to 10s in the above example, which from the [documentation](https://www.elastic.co/guide/en/beats/metricbeat/8.16/configuration-metricbeat.html#metricset-period) looks to be how often you're pulling the metricset.
