Skip to content

Fix ES|QL query errors with AI in the editor #6681

Closed

Description

@florent-leborgne

Summary

PR #269455 adds a user-facing "Fix with AI" quick-fix action in the ES|QL editor. When a query validation error appears, users can trigger an AI-suggested correction, review the diff inline, and accept or undo the fix. The feature shares the NL-to-ESQL enablement gate and requires an Enterprise license with an AI connector configured.

Why this needs docs: The change adds a visible editor workflow with new UI strings and hover actions, but the ES|QL Kibana docs do not mention AI-assisted error fixes.

Resources

  • PR #269455 — [ES|QL] Fixes with AI

Availability

Channel Details
Stack v9.5.0
Serverless May 25–May 29
Feature flag None — active by default

Created with Docs Quest Scanner by @florent-leborgne

Suggested edits

Use ES|QL in the Kibana UI > Editor tools

  • What the docs say: The Editor tools section documents autocomplete, query formatting, warnings, query statistics, keyboard shortcuts, and Quick search, but does not describe AI-assisted query correction on validation errors.
  • What to add: Add a subsection explaining the "Fix with AI" quick fix: how it appears on query errors, that it generates a suggested correction via the suggest-fix endpoint, and how users accept (Keep AI fix) or reject (Undo AI fix) the change. Note prerequisites (NL-to-ESQL enabled, Enterprise license, AI connector configured). Applies from 9.5.0 and in serverless.

Activity

  1. added
    Team:Experience
    on May 24, 2026
  2. added
    needs-team
    on May 24, 2026
  3. github-actions commented on May 24, 2026

    @github-actions
    Contributor

    Elastic Docs AI Menu

    Check one box to run an AI workflow for this issue.

    Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

  4. removed
    needs-team
    on May 26, 2026
  5. added
    Planned-S24
    on Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Planned-S24Team:Experience

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions