RUM dashboard showing same data for all environments

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:

<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?

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

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

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