Support effective query in search explain results#26618
Open
danotorrey wants to merge 9 commits into
Open
Conversation
Adds a read-only effective-query preview under the Search Query on the Filter & Aggregation event definition condition screen, with a persisted show/hide toggle and copy-to-clipboard. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The event-definitions SearchFilter type requires id, title, disabled and negation; the test fixture was missing them (caught by the tsgo compiler in CI). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Search filters are enterprise-only, so the effective-query preview is now provided by the enterprise plugin. OSS only exposes a generic eventDefinitions.components.searchQueryPreview extension point beneath the Search Query on the event definition condition screen; the read-only field and toggle move to the enterprise plugin. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…og2/graylog2-server into feat/14552-effective-query-backend
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
119b2f0 to
ffa78b0
Compare
…t/14552-effective-query-backend
…t/14552-effective-query-backend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supports Graylog2/graylog-plugin-enterprise#14718 — adds an effective query (base query combined with applied search filters) to the search explain results, behind an enterprise-supplied interface (this repo ships a no-op default). Includes the frontend to display it on search pages.
Assisted with Claude Code
/nocl supports https://github.com/Graylog2/graylog-plugin-enterprise/pull/14718
/jpd Graylog2/graylog-plugin-enterprise#14718