Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with kibana 7.3.0 - fix? #61

Open
Gwennyn opened this issue Sep 17, 2019 · 4 comments
Open

Incompatible with kibana 7.3.0 - fix? #61

Gwennyn opened this issue Sep 17, 2019 · 4 comments

Comments

@Gwennyn
Copy link

Gwennyn commented Sep 17, 2019

I'd really like to use this plugin, but it seems to be incompatible with Kibana 7.3.0? Will there be a fix (soon)?

@nreese
Copy link
Owner

nreese commented Sep 17, 2019

Nothing is in the works but pull requests are appreciated.

@GustavoBellini
Copy link

Hello,

I was even able to install in version 7.3.2, but on first boot appeared the following message in kibana:

@babel/polyfill is deprecated. Please, use required parts of core-js

I tried to find this library (@ babel / polyfill) with a grep -ri but couldn't find any file that uses it.

The only mistake I noticed was that the shortcuts to change the layout disappeared.

@ShellySingh1
Copy link

Hi,

I am looking forward to using it with 7.4. I am a Kibana user - not a developer and unfortunately wont be able to edit it myself. Any help?

Thanks.

@shidokamo
Copy link

Hi,

I had exactly same issue mentioned by @GustavoBellini

The error message was below which should be related to Babel 7.4 updates.

@babel/polyfill is deprecated. Please, use required parts of core-js

I think this is not a plugin issue. In my environment, Node version mismatch between Kibana and Bower was causing this issue. I changed installation process as below and now the plugin is working on my Kibana 7.3.2 environment.

Below step is using Node version manager called 'n'. This tool is pretty useful but it directly controls your system directory. I recommend you to understand how it works. (Installation path etc.)

 # Kibana installation dir for Ubuntu/Debian
 KIBANA_HOME=/usr/share/kibana
 
 # Check Node version for your Kibana
 # In my case >>  "node": "10.15.2"
 cat $KIBANA_HOME/package.json | grep node
 
 # Install Node.js with package manager
 curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -
 sudo apt-get install -y nodejs
 
 # Check installed Node version
 # In my case >> v10.16.3 (!! VERSION MISMATCH !!)
 node --version
 
 # Install Node version manager
 sudo npm install -g n
 
 # Install Node version matching with Kibana
 sudo n install 10.15.2
 
 # Uninstall Ubuntu/Debian Node. 'node_modules' won't be removed so you can still use 'n'.
 sudo apt purge -y nodejs
 
 # Check Node version. It should be 'v10.15.2'
 which node
 which npm 
 node --version
 
 # Install bower for Kibana time-plugin
 sudo npm install -g bower
 
 # Install plugin
 cd $KIBANA_HOME/plugins
 sudo git clone http://github.com/nreese/kibana-time-plugin.git
 cd kibana-time-plugin
 sudo git checkout master

 # Update plugin package.json to specify your Kibana version.
 sudo sed -i -e 's/"version".*/"version" : "7.3.2"/' package.json
 
 # --allow-root was required to run bower as root.
 sudo bower install --allow-root
 
 # Restart Kibana
 sudo systemctl restart kibana

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants