Skip to content

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.ts handles 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).
AreaDifferenceWhat the plugin does
One dashboard panel in an answerThe 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 menuTrigger 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 tabThe 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 panelFrom 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.
LensFrom 8.18 on, the Lens component keeps the callbacks of its first render, and only takes attributes.Stable callbacks.
Page layoutFrom 9.3 on, an inner element scrolls and --euiFixedHeadersOffset is 0.The height of the app is measured (public/available_height.ts).
EUINo 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.
BundlerThe 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.
RulesKibana 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 9Streams, 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 stepThe step needs the durable start/poll API of Elastic Workflows, which Kibana has from 9.5 on.Built for 9.5 and later only.
Terminal window
# as a non-root user: newer Kibana tools refuse to run as root
git 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 before
node scripts/kbn bootstrap
git clone https://github.com/TocharianOU/tocharian-ai-kibana.git plugins/tocharian_ai && cd plugins/tocharian_ai
tools/apply_line.py 9.5.7
NODE_OPTIONS="--require $PWD/tools/tests/quiet_build.cjs" node ../../scripts/plugin_helpers build --kibana-version 9.5.7

Check 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.

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).

KibanaNode of its source treeChecks
8.17.020.15.1full
8.17.320.18.2full
8.17.1020.19.4full
8.18.020.18.2full
8.18.820.19.4full
8.19.022.17.1full
8.19.2624.22.3full
9.0.020.18.2full
9.0.820.19.4full
9.1.022.17.1full
9.1.1022.21.1full
9.2.022.17.1full
9.2.822.22.0full
9.3.022.22.0full
9.3.822.23.1full
9.4.024.14.1full
9.4.1024.22.3full
9.5.024.18.0full
9.5.724.22.3full
every other patch from 8.17.0 to 9.5.7the version in its .nvmrcbuild

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.

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.