Skip to content

[8.19] [Security solution][Alerts] Fix custom field grouping (#229956)#230070

Merged
kibanamachine merged 1 commit intoelastic:8.19from
kibanamachine:backport/8.19/pr-229956
Jul 31, 2025
Merged

[8.19] [Security solution][Alerts] Fix custom field grouping (#229956)#230070
kibanamachine merged 1 commit intoelastic:8.19from
kibanamachine:backport/8.19/pr-229956

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.19:

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 added the backport This PR is a backport of another PR label Jul 31, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) July 31, 2025 12:41
@kibanamachine kibanamachine merged commit 0ae973e into elastic:8.19 Jul 31, 2025
11 checks passed
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

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.4MB 9.4MB +48.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