docs: ES|QL Lens panels now support Discover drilldowns (#6352)#6712
Open
florent-leborgne wants to merge 8 commits into
Open
docs: ES|QL Lens panels now support Discover drilldowns (#6352)#6712florent-leborgne wants to merge 8 commits into
florent-leborgne wants to merge 8 commits into
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
Elastic Docs AI PR menuCheck the box to run an AI review for this pull request.
Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team. |
Contributor
🔍 Preview links for changed docs |
Contributor
✅ Vale Linting ResultsNo issues found on modified lines! The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale. |
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Florent LB <florent.leborgne@elastic.co>
Member
Author
|
run docs-build |
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.
Summary
This PR addresses #6352 with the following changes:
explore-analyze/dashboards/drilldowns.md— in the Create Discover drilldowns section, remove the outdated note that called out {{esql}} visualization panels as unsupported. Replace it with a bulleted list of supported panel types that mirrors the Create dashboard drilldowns list:**Lens visualizations that use a data view**(always) and**Lens visualizations built with {{esql}}**(taggedstack: ga 9.5and serverless). The {{esql}} bullet carries a continuation paragraph (indented under the bullet, scoped by the bullet's tag) that describes the translation behavior: dashboard filters and the dashboard KQL or Lucene query are turned into aWHEREclause in the panel's ES|QL query; untranslatable filters are dropped; the Explore in Discover panel action applies the same translation. The cross-reference to Open panel data in Discover is preserved as a tip, framed as a no-drilldown alternative.explore-analyze/dashboards/drilldowns.md— in the existing Create dashboard drilldowns bullet list, reword the two Lens entries from**Visualizations created with Lens**/**{{esql}} visualizations**to**Lens visualizations that use a data view**/**Lens visualizations built with {{esql}}**. This removes the ambiguity that the first bullet could be read as covering all Lens visualizations (including ES|QL), and aligns the wording with the new Discover drilldowns list. Pre-existingapplies_totags on the ES|QL bullet (stack: ga 9.4, serverless) are preserved.explore-analyze/visualize/esorql.md— in the Add drilldowns to an {{esql}} visualization section, remove the now-stale note saying Discover drilldowns aren't available, and restructure the section as a bulleted list of the three supported drilldown types (Dashboard, URL, Discover). The new Discover bullet carries an inline{applies_to}tag forstack: ga 9.5and serverless and briefly notes the filter/query translation behavior. The EVAL/STATS trigger constraint paragraph is preserved as a follow-on so it scopes all three bullets.Discover drilldowns remain Lens-only at HEAD: the drilldown is registered solely in
x-pack/platform/plugins/shared/lens/public/plugin.tsand gated toLENS_EMBEDDABLE_TYPEin itsisCompatiblecheck, so Maps, TSVB, Vega, aggregation-based, and Timelion panels are correctly absent from the new list.Resolves
Closes #6352
Screenshots to add or update
explore-analyze/dashboards/drilldowns.md— new {{esql}} content in the Create Discover drilldowns section: consider adding a screenshot of the resulting Discover view (translatedWHEREclause visible in the ES|QL bar) since the prose describes runtime query rewriting that readers can't see in the existing data-view drilldown screenshot. The PR author's screenshots (1, 5) could be a starting point.