Kibana versions
Reference for administrators and developers: which Kibana versions the plugin supports, and how they differ for it.
A Kibana plugin archive only installs into the exact Kibana version it was built for, so every Kibana patch needs its own archive. They are all built from one code base (branch main):
public/compat.tshandles the differences in the browser. It looks at what Kibana offers, not at the version number.lines/<minor>/holds the few files that cannot even be compiled on older versions (today: the Workflows step, from 9.5 on).tools/apply_line.py <kibana version>copies the folders that apply over the plugin before a build (see lines/README.md).
Differences that matter to the plugin
Section titled “Differences that matter to the plugin”| Area | Difference | What the plugin does |
|---|---|---|
| One dashboard panel in an answer | The panel list has another shape in almost every minor: a map up to 9.0 (not 8.19), a list with sections in 8.19 and 9.1, other field names from 9.2 and again from 9.4. From 9.3 on, the loaded dashboard comes from a cache that must not be changed. | onlyPanel and singlePanelOptions reduce the loaded dashboard to one panel before any panel is created. From 9.3 on, the state is overridden and the query and filters are set through the dashboard API. |
| Chart events and panel menu | Trigger ids were renamed in 9.4 (for example VALUE_CLICK_TRIGGER is now on_click_value). Up to 9.3 triggers run through getTrigger(id).exec, later through executeTriggerActions. 9.5 only has registerActionAsync. | TRIGGERS, interceptTriggers and registerUiAction. |
| Discover document tab | The doc viewer registry takes component in 8.19 and 9.1, prefers render(element, props) (mount and return the unmount) in 8.17 and 9.0, and takes only render(props) returning the React element from 9.2 on. | The tab is registered with component and one render that handles both forms (public/plugin.tsx). The release check opens the tab in Discover. |
| Parent of a panel | From 8.18 to at least 9.2 panels get a copy of the dashboard API, not the API itself. | Our charts are also recognized by the shared children$ object. |
| Lens | From 8.18 on, the Lens component keeps the callbacks of its first render, and only takes attributes. | Stable callbacks. |
| Page layout | From 9.3 on, an inner element scrolls and --euiFixedHeadersOffset is 0. | The height of the app is measured (public/available_height.ts). |
| EUI | No flush, gutterSize or size on list groups, no delay on tooltips and no size on context menu panels in EUI 116 (9.5). The icon iInCircle is gone from 9.2. A name EUI does not know draws an empty icon without an error. | Not used. Our own style for compact lists; icons that exist in every version. The browser checks look for empty icons. |
| Bundler | The parser of 8.17.0 does not know numeric separators (30_000). The type check and jest accept them. | Not used in browser code; a self test checks it. |
| Dashboards (server) | DASHBOARD_MARKDOWN is a panel type of Kibana 9. Controls are published on the dashboard API itself. ES|QL controls use ?name and ??name variables. | Filters, the time slider and ES|QL variables are read from either API; the server re-run binds the variables. |
| Rules | Kibana 9.5 does not return snooze_schedule and is_snoozed_until in its public rule API. It has a new rules app at /app/rules. | Page awareness for both rule apps. |
| Pages of Kibana 9 | Streams, Workflows, Agent Builder, Query rules and Synonyms. | Page awareness and read access. Without the license, the page says “not available” with Kibana’s reason. |
| Workflows step | The step needs the durable start/poll API of Elastic Workflows, which Kibana has from 9.5 on. | Built for 9.5 and later only. |
# as a non-root user: newer Kibana tools refuse to run as rootgit clone --depth 1 --branch v9.5.7 https://github.com/elastic/kibana.git && cd kibana# Node: the version in .nvmrc# Package manager: pnpm from 8.19.22, 9.4.8 and 9.5.5 on (package.json "packageManager", or "engines" in 8.19.22), yarn beforenode scripts/kbn bootstrapgit clone https://github.com/TocharianOU/tocharian-ai-kibana.git plugins/tocharian_ai && cd plugins/tocharian_aitools/apply_line.py 9.5.7NODE_OPTIONS="--require $PWD/tools/tests/quiet_build.cjs" node ../../scripts/plugin_helpers build --kibana-version 9.5.7Check that the archive contains target/public/tocharianAi.plugin.js. Kibana’s build ends its bundler at the first line the bundler prints, and still reports success without the browser code. baseline-browser-mapping 2.8 (9.1.10, 9.2.0) prints such a line because its data is over two months old; quiet_build.cjs drops that line. Later versions of it also need BROWSERSLIST_IGNORE_OLD_DATA=1, or quiet_build.cjs. matrix.sh does all of this.
Supported versions and checks
Section titled “Supported versions and checks”Every release has one zip for each Kibana patch from 8.17.0 to 9.5.7 (104 versions, listed in tools/tests/versions.json). Every zip is type-checked, unit-tested and built in the Kibana source of its version. The first and the last patch of every minor, and 8.17.3, also get the API and browser checks on a running Kibana, with the official Docker image of that version and a scripted model. The release’s manifest.json says which checks each zip passed (full or build).
| Kibana | Node of its source tree | Checks |
|---|---|---|
| 8.17.0 | 20.15.1 | full |
| 8.17.3 | 20.18.2 | full |
| 8.17.10 | 20.19.4 | full |
| 8.18.0 | 20.18.2 | full |
| 8.18.8 | 20.19.4 | full |
| 8.19.0 | 22.17.1 | full |
| 8.19.26 | 24.22.3 | full |
| 9.0.0 | 20.18.2 | full |
| 9.0.8 | 20.19.4 | full |
| 9.1.0 | 22.17.1 | full |
| 9.1.10 | 22.21.1 | full |
| 9.2.0 | 22.17.1 | full |
| 9.2.8 | 22.22.0 | full |
| 9.3.0 | 22.22.0 | full |
| 9.3.8 | 22.23.1 | full |
| 9.4.0 | 24.14.1 | full |
| 9.4.10 | 24.22.3 | full |
| 9.5.0 | 24.18.0 | full |
| 9.5.7 | 24.22.3 | full |
| every other patch from 8.17.0 to 9.5.7 | the version in its .nvmrc | build |
The checks do not cover real models, real data, upgrades from an earlier plugin version, machine learning (turned off in the test stack), or the patches between the first and the last of a minor beyond the build. The Workflows step has its own check on 9.5 (tools/tests/workflow_stack.sh): time window, follow-up, wrong time or model, missing privilege, another space, and alert → workflow → investigation → case.
Install on Kibana managed by ECK
Section titled “Install on Kibana managed by ECK”The archive is installed by an init container that runs before Kibana starts; ECK mounts the plugins volume into it. On a single-node cluster the archive can come from a host directory; otherwise serve it over HTTPS and install from the URL.
spec: podTemplate: spec: initContainers: - name: install-tocharian-ai command: ["sh", "-c", "bin/kibana-plugin remove tocharianAi >/dev/null 2>&1 || true; bin/kibana-plugin install file:///plugin-src/tocharianAi-1.0.1-kibana-9.5.7.zip"] volumeMounts: - { name: tocharian-plugin-src, mountPath: /plugin-src, readOnly: true } volumes: - name: tocharian-plugin-src hostPath: { path: /path/to/plugin-releases, type: Directory }ECK sets xpack.encryptedSavedObjects.encryptionKey itself, so the model API key can be stored without extra settings. To roll out a new archive, replace the file and change any pod template annotation; Kibana restarts and the init container installs the new archive.