# RUM dashboard showing same data for all environments

**URL:** <https://discuss.elastic.co/t/rum-dashboard-showing-same-data-for-all-environments/285768>\
**Category:** User Experience\
**Created:** [October 3, 2021, 2:52pm UTC](https://discuss.elastic.co/t/rum-dashboard-showing-same-data-for-all-environments/285768 "2021-10-03T14:52:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sonowaan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sonowaan/32/81251_2.png) [@sonowaan](https://discuss.elastic.co/u/sonowaan)\
**Post date:** [October 3, 2021, 2:52pm UTC](https://discuss.elastic.co/t/rum-dashboard-showing-same-data-for-all-environments/285768/1 "2021-10-03T14:52:43Z")

</div>

Hello, I've setup RUM agent in Rails application and data is correctly getting to Kibana. I can see updates on the User Experience dashboard as activities happen in the application. I'm using the same APM server for multiple Rails environments. My problem is, switching environments in Environment Selector has no effect on the data shown, i.e. all "All", "development", "staging" environments show the exact same data. APM on the other hand is working well with different environments.

Here is how the RUM agent is configured on every page of the application:

```auto
<script type="text/javascript">
  (function(d, s, c) {
    var j = d.createElement(s), t = d.getElementsByTagName(s)[0];
    j.src = '/assets/elastic-apm-rum.umd.min-8db580e997677d28a44c6d11c14ccc1363d953ad5ee86ca94861b7a07ec3ab7b.js';
    j.onload = function(){elasticApm.init(c);};
    t.parentNode.insertBefore(j, t);
  })(document, 'script', {
    serviceName: 'test-app', serverUrl: 'http://localhost:8200', environment: 'development'
  });
</script>

```

Is there something else I need to do to correctly pass the environment in RUM?

---

<div class="post-metadata">

**Author:** ![Dominique\_Clarke](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dominique_clarke/32/92223_2.png) [@Dominique\_Clarke](https://discuss.elastic.co/u/Dominique_Clarke)\
**Post date:** [October 25, 2021, 5:27pm UTC](https://discuss.elastic.co/t/rum-dashboard-showing-same-data-for-all-environments/285768/2 "2021-10-25T17:27:16Z")

</div>

Hi there. Thanks for reaching out and apologies for the delay.

Can you confirm which version of Kibana you are currently using?

The environment filter dropdown was broken in Kibana 7.12, but fixed in 7.14. Here is the issue for reference: [[User Experience App] Environment filter is broken · Issue #102069 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/102069)

Upgrading to 7.14, if you're not already on 7.14, should resolve this issue.

---

<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, 2021, 5:28pm UTC](https://discuss.elastic.co/t/rum-dashboard-showing-same-data-for-all-environments/285768/3 "2021-11-22T17:28:10Z")

</div>

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