datasweet / kibana-datasweet-formula

This Kibana plugin allows calculated metrics on any standard kibana visualizations.
Apache License 2.0
121 stars 34 forks source link

Announcement : contributors needed to upgrade to new Kibana versions #62

Open lfroment-datasweet opened 4 years ago

lfroment-datasweet commented 4 years ago

Hi all, We wish you a happy new year! Thanks for using and starring Kibana-datasweet-formula.

We need your help in order to keep up with the release pace of Kibana. We are very busy on our business, and preparing a release that might change forever the way you query your elasticsearch data. In the meantime, we want this plugin to keep up with the new Kibana version, but we are not in a position to do that by ourselves. Are any of you willing to contribute ? If so, please let us know. Support for 7.5 would be the priority. Best regards Datasweet team.

pchakour commented 4 years ago

If you are a simple user, don't use this patch. The saved object structure are not the same than datasweet 2.2.1 and can lead to some compatibility issues in the futur.

Hey guys :)

I'm working on the migration for Kibana 7.5.0 and I need some helps. I think everything seems to work but I had to patch directly the code inside kibana to migrate some parts of the code. So, if someone can take a look to see if we can avoid patches and do everything in the plugin, it will be better (may be using prototype) .

So this is a git patch to apply on datasweet plugin datasweet.patch.zip

To apply it, you have to :

pchakour commented 4 years ago

Hi !

This is a new patch for kibana 7.6.1 : datasweet_7.6.1.zip datasweet_7.6.1.zip (Fix a bug in prod mode)

The installation instructions are :

This patch :

alex-cristescu commented 4 years ago

Hello,

Is the 7.6.1 version of the plugin also compatible with Kibana 7.6.2 or does it need changes?

Asking as we've installed the plugin on 7.6.2 however we cannot see it inside the visualization builder nor in the status page listed in the Kibana plugin list

root@elk7-stack-ansible:/usr/share/kibana/kibana-datasweet-formula_tree_v2.2.1/kibana-datasweet-formula/patches# /usr/local/bin/yarn install

yarn install v1.22.4

warning ../../package.json: License should be a valid SPDX license expression

[1/4] Resolving packages...

[2/4] Fetching packages...

[3/4] Linking dependencies...

warning " > eslint-plugin-mocha@1.1.0" has incorrect peer dependency "eslint@^1.4.1".

[4/4] Building fresh packages...

success Saved lockfile.

Done in 6.94s.

Thanks

pchakour commented 4 years ago

Yes, I think the patch is compatible with kibana 7.6.2.

My installation instructions seems to be unclear because lots of people have issues with the installation of my patch :(

First, delete your attempt to avoid conflicts:

cd /usr/share/kibana/
rm -rf kibana-datasweet-formula_tree_v2.2.1

Then, use the following commands to install the plugin:

cd /usr/share/kibana/
mkdir -p plugins
cd plugins
git clone https://github.com/datasweet/kibana-datasweet-formula.git
cd kibana-datasweet-formula
git checkout v2.2.1
git am --signoff -k < PATCH_PATH
cd patches
sh ./apply.sh prod
cd ..
yarn install
cd ..
rm -rf optimize/*

After restarting your kibana, it will work...

Of course, you have to replace _PATCHPATH with the path of the extracted patch. Let me know if you any troubles...

scaramatto commented 4 years ago

Sorry

Yes, I think the patch is compatible with kibana 7.6.2.

My installation instructions seems to be unclear because lots of people have issues with the installation of my patch :(

First, delete your attempt to avoid conflicts:

cd /usr/share/kibana/
rm -rf kibana-datasweet-formula_tree_v2.2.1

Then, use the following commands to install the plugin:

cd /usr/share/kibana/
mkdir -p plugins
cd plugins
git clone https://github.com/datasweet/kibana-datasweet-formula.git
cd kibana-datasweet-formula
git checkout v2.2.1
git am --signoff -k < PATCH_PATH
cd patches
sh ./apply.sh prod
cd ..
yarn install
cd ..
rm -rf optimize/*

After restarting your kibana, it will work...

Of course, you have to replace _PATCHPATH with the path of the extracted patch. Let me know if you any troubles...

Sorry... For Windows how i can install plugin to kibana 7.6.1? This command they only work with linux :( Thanks!