kibana-mithril icon indicating copy to clipboard operation
kibana-mithril copied to clipboard

Supports ELK Version : 7.10.0 and 7.10.1

Open ck-7 opened this issue 3 years ago • 2 comments

@codingchili

Does kibana mithril support eLK version 7.10.0? .. Need step by step installation in centos 7.X. For 1 year I have been looking for this kind of tool in my production deployment. Kindly share the installation instruction for ELK ver 7.10.0.

[root@elk-logging bin]# ./kibana-plugin install 'https://github.com/codingchili/kibana-mithril/releases/download/1.2.1/mithril-windows-x86_64-7.0.0-beta1.zip' --allow-root Found previous install attempt. Deleting... Attempting to transfer from https://github.com/codingchili/kibana-mithril/releases/download/1.2.1/mithril-windows-x86_64-7.0.0-beta1.zip Transferring 20609584 bytes.................... Transfer complete Retrieving metadata from plugin archive Plugin installation was unsuccessful due to error "No kibana plugins found in archive"

Tried to build ./release.sh 7.10.0

./kibana-plugin install /root/ldap-kibana/kibana/kibana-mithril/build/dist/mithril-GNU.Linux-x86_64-7.10.0.zip --allow-root Found previous install attempt. Deleting... Attempting to transfer from /root/ldap-kibana/kibana/kibana-mithril/build/dist/mithril-GNU.Linux-x86_64-7.10.0.zip Attempting to transfer from https://artifacts.elastic.co/downloads/kibana-plugins//root/ldap-kibana/kibana/kibana-mithril/build/dist/mithril-GNU.Linux-x86_64-7.10.0.zip//root/ldap-kibana/kibana/kibana-mithril/build/dist/mithril-GNU.Linux-x86_64-7.10.0.zip-7.10.0.zip Plugin installation was unsuccessful due to error "No valid url specified."

[root@elk-logging bin]# ./kibana-plugin install file:///root/ldap-kibana/mithril-GNU.Linux-x86_64-7.0.0-beta1.zip --allow-root Found previous install attempt. Deleting... Attempting to transfer from file:///root/ldap-kibana/mithril-GNU.Linux-x86_64-7.0.0-beta1.zip Transferring 14397620 bytes.................... Transfer complete Retrieving metadata from plugin archive Plugin installation was unsuccessful due to error "No kibana plugins found in archive" [root@elk-logging bin]#

ck-7 avatar Dec 08 '20 10:12 ck-7

Hello,

Thanks for submitting an issue.

The plugin has not been tested on 7.10.0, its possible the plugin format has changed since the last release.

Note that the versions must match, or the plugin will not be installed - for for 7.10.0 which there's no plugin release for you'll need to run the release script. Should be an easy fix if the plugin is otherwise compatible with the new version.

Here is a plugin generator for Kibana, could be used to create an empty shell to compare to. I'll guess it has something to do with package.json or the file structure of the zip.

https://www.elastic.co/guide/en/kibana/current/plugin-tooling.html

Seems like the directory structure has been updated, maybe it'll work if the kibana-mithril is moved into a plugins directory in the zip. (kibana/plugins/kibana-mithril) instead of (kibana/kibana-mithril)

I'm very busy at the moment and this is one of my projects with lower priority, due to the high maintenance cost of keeping Kibana plugins up to date.

codingchili avatar Feb 06 '21 16:02 codingchili

So the directory trick didn't work for me. It seems that since 7.10 legacy plugins need to be migrated to the new Kibana Platform Plugin API... https://www.elastic.co/guide/en/kibana/current/migrating-legacy-plugins.html

@ck-7 did you manage to migrate the plugin to the new kibana version?

KeksTheAllmighty avatar Oct 16 '21 07:10 KeksTheAllmighty