[PLUGIN DEV] How to check the current Kibana version number?

Hello,

Is there a way from the plugin API in Kibana to check if the current Kibana version is for example "6.5.0 or later"?

During the plugin installation, Kibana will verify that the plugin version matches Kibana's version. That logic can be found at https://github.com/elastic/kibana/blob/6.5/src/cli_plugin/install/kibana.js#L56

Your plugin should not have to do any version checking and Kibana will not allow the installation of a plugin with a version mismatch.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.