# Kibana User Experience UI does not update data when changing the environment

**URL:** https://discuss.elastic.co/t/kibana-user-experience-ui-does-not-update-data-when-changing-the-environment/321896
**Category:** APM
**Tags:** rum, ui
**Created:** [December 23, 2022, 9:25am UTC](https://discuss.elastic.co/t/kibana-user-experience-ui-does-not-update-data-when-changing-the-environment/321896 "2022-12-23T09:25:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![apt-get\_install\_skil](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/apt-get_install_skil/32/115156_2.png) [@apt-get\_install\_skil](https://discuss.elastic.co/u/apt-get_install_skil)
#### Post date: [December 23, 2022, 9:25am UTC](https://discuss.elastic.co/t/kibana-user-experience-ui-does-not-update-data-when-changing-the-environment/321896/1 "2022-12-23T09:25:33Z")

</div>

After installing the APM Java agent into our backend application, we've also installed the RUM JavaScript agent to gain insights of our frontend performance.

We use the agents in two different environments: _qa_ and _prod_.  
The APM UI shows the correct data for each environment and updates itself after the environment was selected or changed via the dropdown menu.

However, the User Experience (RUM) UI **does not**. Whether no environment ("All"), "qa" or "prod" is selected: the UI does always show the same data regardless of the time range.

I double-checked if I had mistakenly set the wrong environment in the agent config, but I did not. Furthermore, when searching the apm indices through the Discovery, I can clearly see that there are way more documents with `service.environment == prod` than `service.environment == qa`.

The **Analyze data** panel however can query the correct data for the specified environment. This strengthens my assumption that this must be a bug in the Kibana User Experience UI.

I took a look at the Kibana release notes for versions 7.13.3 onwards but couldn't find anything related to this.

**Would you please comment on this issue?**  
Thanks in advance.

Stack version: 7.13.2  
RUM agent version: 5.12.0  
APM Java agent version: 1.35.0

---

<div class="post-metadata">

### Author: ![Alberto\_Delgado](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alberto_delgado/32/98488_2.png) [@Alberto\_Delgado](https://discuss.elastic.co/u/Alberto_Delgado)
#### Post date: [December 27, 2022, 3:45pm UTC](https://discuss.elastic.co/t/kibana-user-experience-ui-does-not-update-data-when-changing-the-environment/321896/2 "2022-12-27T15:45:57Z")

</div>

Hi @apt-get_install_skil,

Thanks for using the agent!

I have been checking the User Experience Page and cannot reproduce the issue you describe.

I've done the test using Stack Version 8.1.0.

Edit: while Checking the [7.13.3 release notes](https://www.elastic.co/guide/en/kibana/7.13/release-notes-7.13.3.html) I spotted this: [[User Experience App] Update to make sure env filter is being used by shahzad31 · Pull Request #102063 · elastic/kibana · GitHub](https://github.com/elastic/kibana/pull/102063/files)

It seems there was a bug related to the environment filter.

 ![Screenshot 2022-12-27 at 16.45.21](https://us1.discourse-cdn.com/elastic/original/3X/4/a/4a7babb31c2f20ff099ec95e2bf6abf6391520b9.png)

Let me know if this helps you

Thanks,  
Alberto

---

<div class="post-metadata">

### Author: ![apt-get\_install\_skil](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/apt-get_install_skil/32/115156_2.png) [@apt-get\_install\_skil](https://discuss.elastic.co/u/apt-get_install_skil)
#### Post date: [December 28, 2022, 11:52am UTC](https://discuss.elastic.co/t/kibana-user-experience-ui-does-not-update-data-when-changing-the-environment/321896/3 "2022-12-28T11:52:28Z")

</div>

Hi Alberto,

thanks for digging through the commits.  
After upgrading our stack from 7.13.2 to 7.17.8 the error no longer exists 🙂

Best regards,  
Lukas

---

<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: [January 25, 2023, 11:53am UTC](https://discuss.elastic.co/t/kibana-user-experience-ui-does-not-update-data-when-changing-the-environment/321896/4 "2023-01-25T11:53:18Z")

</div>

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