docs: document ES|QL support in Vega visualizations (#4953)#6022
Merged
florent-leborgne merged 6 commits intomainfrom Apr 23, 2026
Merged
docs: document ES|QL support in Vega visualizations (#4953)#6022florent-leborgne merged 6 commits intomainfrom
florent-leborgne merged 6 commits intomainfrom
Conversation
Add a reference subsection on the custom Vega visualizations page explaining how to use ES|QL queries as a data source via the `%type%: esql` url configuration, and link to it from the ES|QL in Kibana page. Made-with: Cursor
Contributor
🔍 Preview links for changed docs |
Contributor
Vale Linting ResultsSummary: 1 suggestion found 💡 Suggestions (1)
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. |
Use JSON-style quoted keys (e.g. "%type%": "esql") in the new Vega snippets so they can be copy-pasted directly, matching the verified examples from elastic/kibana#247186. Made-with: Cursor
Replace the partial data-only snippet with the complete time series example from elastic/kibana#247186 so readers can copy-paste a working spec into the custom visualization editor. Made-with: Cursor
Member
Author
Member
nastasha-solomon
left a comment
There was a problem hiding this comment.
Changes look good! I did want to point out that the first tutorial might be one header level too low - https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/6022/explore-analyze/visualize/custom-visualizations-with-vega#_tutorials_create_custom_panels
nastasha-solomon
approved these changes
Apr 22, 2026
Member
Author
|
@nastasha-solomon yes, this page is way too long and should be broken down anyways - thanks! (That's for later) |
mbondyra
approved these changes
Apr 22, 2026
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 #4953 with the following changes:
explore-analyze/visualize/custom-visualizations-with-vega.md: Adds a new reference subsectionWriting ES|QL queries in Vegathat explains how to use"%type%": "esql"as a data source in Vega and Vega-Lite. Covers the supportedurlparameters ("query","%context%","%timefield%","dropNullColumns","params"), the?_tstart/?_tendtime parameters, and includes a complete, copy-paste-ready Vega-Lite time series spec lifted from the implementation PR.explore-analyze/query-filter/languages/esql-kibana.md: Adds a version-scoped link to the new Vega section in the Related pages list so readers on the {{esql}} page can discover Vega support.Snippets use JSON with fully quoted keys (including
"%type%","%context%","%timefield%") to match the verified examples in elastic/kibana#247186 and ensure reliable copy-paste.Both additions are scoped to
stack: ga 9.4andserverless: ga, matching the delivery of elastic/kibana#247186.Resolves
Closes #4953