Skip to content

Support effective query in search explain results#26618

Open
danotorrey wants to merge 9 commits into
masterfrom
feat/14552-effective-query-backend
Open

Support effective query in search explain results#26618
danotorrey wants to merge 9 commits into
masterfrom
feat/14552-effective-query-backend

Conversation

@danotorrey

@danotorrey danotorrey commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

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

danotorrey and others added 6 commits July 2, 2026 14:09
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>
@danotorrey danotorrey force-pushed the feat/14552-effective-query-backend branch from 119b2f0 to ffa78b0 Compare July 7, 2026 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants