Skip to content

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

## Summary

Fixes elastic#229844

### 🛑 The problem

As shown in elastic#229844, the "custom field" grouping option was not properly
working for users. Here's a video of the bug:

https://github.com/user-attachments/assets/93da6835-8fba-4c1e-adcf-06c05080b5dc

### 💡 The solution

As @christineweng suggested in the mentioned issue, the problem occurred
because the code was not checking if the new data view was actually
enabled via feature flag before using it.

All we had to do was to add the feature flag check and everything is
back to normal now. Here's a video of the UI after the fix:

https://github.com/user-attachments/assets/14453957-0c00-430e-b572-cb2666ab774c
(cherry picked from commit 22890e6)
@kibanamachine kibanamachine merged commit ac4942c into elastic:9.1 Jul 31, 2025
16 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 9.8MB 9.8MB +50.0B

cc @NicholasPeretti

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants