# Metricbeat shows same metrics data for 2 different environments

**URL:** <https://discuss.elastic.co/t/metricbeat-shows-same-metrics-data-for-2-different-environments/242577>\
**Category:** Metrics\
**Created:** [July 24, 2020, 11:28pm UTC](https://discuss.elastic.co/t/metricbeat-shows-same-metrics-data-for-2-different-environments/242577 "2020-07-24T23:28:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahtesham](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ahtesham/32/45644_2.png) [@Ahtesham](https://discuss.elastic.co/u/Ahtesham)\
**Post date:** [July 24, 2020, 11:28pm UTC](https://discuss.elastic.co/t/metricbeat-shows-same-metrics-data-for-2-different-environments/242577/1 "2020-07-24T23:28:42Z")

</div>

We have a service that runs in multiple environments 'qa' and 'Production'. we use fields.env in metricbeat.yml to set the environment.  
We see this service in 2 environments in Kibana. However it shows same metrics data for these 2 environments.

---

<div class="post-metadata">

**Author:** ![weltenwort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weltenwort/32/53885_2.png) [@weltenwort](https://discuss.elastic.co/u/weltenwort)\
**Post date:** [August 3, 2020, 10:39am UTC](https://discuss.elastic.co/t/metricbeat-shows-same-metrics-data-for-2-different-environments/242577/2 "2020-08-03T10:39:43Z")

</div>

Hi @Ahtesham,

could you explain a bit more what "in Kibana" means? Are you using the Metrics app, the dashboards that metricbeat ships with or a custom query?

---

<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:** [August 31, 2020, 10:39am UTC](https://discuss.elastic.co/t/metricbeat-shows-same-metrics-data-for-2-different-environments/242577/3 "2020-08-31T10:39:45Z")

</div>

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