[Alerting V2] Get ES|QL help and recommended queries in the rule query sandbox

Aperta Adatta ai principianti
#9,428 1 commento 1 reazione 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@nastasha-solomon ci sta già lavorando.

Dal 16/11/2026.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
78/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
elasticsearch
Ambito
documentation

Direzione di ricerca

Aggiorna la sezione «Visualizzare in anteprima i risultati delle query nella sandbox» della documentazione collegata delle regole ES|QL. Descrivi il menu della guida, il pannello a comparsa del riferimento del linguaggio, le query consigliate e dove vengono visualizzate; verifica la formulazione del controllo suddiviso e lo screenshot rispetto a PR #290863. Conferma che il testo indichi la disponibilità dalla versione 9.6.0 e in Serverless e che il comportamento documentato corrisponda a quello della sandbox.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

alerting-v2 Team:SKI triaged

Summary

The query sandbox used when authoring a Universal Alerting ES|QL rule now has an ES|QL menu in its toolbar. Its help popover links to the ES|QL language reference (opened in a flyout) and lists recommended queries; selecting one replaces the editor content and runs it. Recommended queries are offered in the single editor and on the Base tab in split mode, and are hidden on the other split-mode tabs, which only hold a query fragment. The Discover-style query history and KQL/natural-language search buttons are not part of the sandbox menu, and the Split/Merge control moved out of the editor toolbar into the helper-text row above the editor.

Why this needs docs: New visible control (help menu with one-click recommended queries) in a sandbox the docs already describe control by control; small addition, release note present.

Resources

  • PR #290863 — [Alerting v2] Sandbox ES|QL editor: help/docs menu + recommended queries + gear relocation
Screenshots from PR

screenshot
screenshot

Availability

Channel Details
Stack v9.6.0
Serverless Sep 28–Oct 2
Feature flag None — active by default

Created with Docs Quest Scanner by @nastasha-solomon

Suggested edits

Create an ES|QL rule in Kibana Universal Alerting > Preview query results in the sandbox

  • What the docs say: The query sandbox lets you run your ES|QL query against current data and preview the results before applying them to the rule form. Use the time field selector and date picker to control the time range, then select Search (or press ⌘↵) to execute.
  • What to add: The section walks through the sandbox toolbar (time field selector, date picker, Search, Apply changes) but does not mention the new ES|QL help menu. Add one sentence or bullet: the help (question mark) menu in the sandbox toolbar opens the ES|QL language reference in a flyout and lists recommended queries; selecting a recommended query replaces the editor content and runs it. Recommended queries appear in the single editor and on the Base tab in manual split mode, and are hidden on the other split-mode tabs because those hold only a query fragment. In the same section, re-check the 'Control how your query splits' wording: it refers to 'the toggle in the sandbox', and the PR moves the Split/Merge control from the editor toolbar to the helper-text row above the editor, so confirm the description (and any screenshot) still matches. Applies from 9.6.0 and in serverless.
Lingua principale
Nessun dato sulla lingua
Stelle
50
Fork
269
Merge medio
4g 4h
PR unite (30g)
235

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di elastic/docs-content

Tutte le issue di elastic/docs-content

Issue simili

Altre issue su Documentation

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.