Skip to content

Fix: Alerts aggregations - show only compatible fields in black, gray otherwise (6.3)#24566

Merged
janheise merged 1 commit into6.3from
backport-6.3/fix/show-compatible-fields
Mar 4, 2026
Merged

Fix: Alerts aggregations - show only compatible fields in black, gray otherwise (6.3)#24566
janheise merged 1 commit into6.3from
backport-6.3/fix/show-compatible-fields

Conversation

@graylog-internal-actions-access
Copy link
Copy Markdown

Note: This is a backport of #23778 to 6.3.

Description

Prior to this PR, the fields to select for an aggregation in the alerts definition where always shown as a list of "black" fields. The same functionality in the search's aggregation wizard is graying out incompatible fields for the selected function.
This PR adds the same to the alerts' aggregation wizard.

You can still select an incompatible field.

partially fixes #23532

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have requested a documentation update.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

… otherwise (#23778)

* show only compatible fields in black, gray otherwise - just like in the search aggregation wizard

* fix icon, test

* remove console.log

* adding changelog

* fixing linter hint

* Fixing field select options.

---------

Co-authored-by: Konrad Merz <konrad@graylog.com>
Co-authored-by: Dennis Oelkers <dennis@graylog.com>
(cherry picked from commit 97120f0)
@kmerz
Copy link
Copy Markdown
Member

kmerz commented Dec 16, 2025

Tested on Test Environment Code LGTM 👍

@janheise janheise marked this pull request as ready for review March 4, 2026 08:46
@janheise janheise merged commit 04b3915 into 6.3 Mar 4, 2026
15 of 16 checks passed
@janheise janheise deleted the backport-6.3/fix/show-compatible-fields branch March 4, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants