Coder Social home page Coder Social logo

Comments (5)

pchakour avatar pchakour commented on August 15, 2024 2

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 PATCH_PATH with the path of the extracted patch.
Let me know if you any troubles...

from kibana-datasweet-formula.

pchakour avatar pchakour commented on August 15, 2024 1

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 :

  • clone the datasweet plugin
  • checkout the tag v2.2.1
  • unzip the patch inside the plugin repository
  • use this command to apply the patch : git am --signoff -k < datasweet.patch.git
  • execute the script apply.sh inside the directory patches :
    cd patches && sh ./apply.sh (For dev mode)
    cd patches && sh ./apply.sh prod (For prod mode)
  • execute the yarn install command
  • start kibana (remove the content of the optimize directory before if you are not in dev mode)

This patch :

  • Add the support for Kibana 7.6.1
  • Keep the same structure of the saved object than the datasweet 2.2.1

from kibana-datasweet-formula.

pchakour avatar pchakour commented on August 15, 2024

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 :

  • clone the datasweet plugin
  • checkout the tag v2.2.1
  • unzip the patch inside the plugin repository
  • use this command to apply the patch : git am --signoff -k < datasweet.patch.git
  • execute the script apply.sh inside the directory patches : cd patches && sh ./apply.sh
  • execute the yarn command
  • start kibana (remove the content of the optimize directory before if you are not in dev mode)

from kibana-datasweet-formula.

alex-cristescu avatar alex-cristescu commented on August 15, 2024

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 " > [email protected]" has incorrect peer dependency "eslint@^1.4.1".

[4/4] Building fresh packages...

success Saved lockfile.

Done in 6.94s.

Thanks

from kibana-datasweet-formula.

scaramatto avatar scaramatto commented on August 15, 2024

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 PATCH_PATH 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!

from kibana-datasweet-formula.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.