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

Feature request: Automatically install plugins #6564

Closed
abtpst opened this issue Mar 17, 2016 · 5 comments
Closed

Feature request: Automatically install plugins #6564

abtpst opened this issue Mar 17, 2016 · 5 comments

Comments

@abtpst
Copy link

abtpst commented Mar 17, 2016

So if i want to install any plugins, i have to run the kibana plugin command. Its a bit cumbersome as i have to install each plugin individually. Can i specify just the names of the plugins somewhere and when kibana starts up, it will automatically install these plugins. I remember that in Kibana 4.1.x, i could add the following to the kibana.yml file

bundled_plugin_ids:
 - plugins/dashboard/index
 - plugins/discover/index
 - plugins/doc/index
 - plugins/kibana/index
 - plugins/markdown_vis/index
 - plugins/metric_vis/index
 - plugins/settings/index
 - plugins/table_vis/index
 - plugins/vis_types/index
 - plugins/visualize/index

is this for already installed plugins? Or is it a way to specify auto install of plugins? Can we do something similar for Kibana 4.4.x?

@spalger
Copy link
Contributor

spalger commented Mar 21, 2016

I like the idea of being able to install multiple plugins with a single call to the command line, and could get behind "auto-installing" plugins.

Just a thought: Installing plugins isn't something that most people will do often, and optimizing the speed of install is probably a waste of time. If you are looking to deploy kibana to many machines, or something like that, I suggest that you:

  • install the plugins into a local version of kibana
  • archive that install
  • deploy that archive build rather than re-installing plugins on every deploy

@tbragin tbragin added the Team:Operations Team label for Operations Team label Jan 5, 2017
@Kikketer
Copy link
Contributor

Kikketer commented Apr 12, 2017

@spalger We have a similar need with multiple plugins. Our build server does the install for us and right now is starting to take longer and longer as each plugin is installed.

Here's the process our build script does:

  1. run npm build on Kibana itself
  2. untar the result
  3. Run the x-pack install via the standard ./bin/kibana-plugin install x-pack
  4. Loop over every other custom plugin (4 right now) and does the ./bin/kibana-plugin install on each
  5. Re-tar the package

The problem comes when it's actually deployed in a Docker image. The startup spits out a line similar to

Optimizing and caching bundles for graph, monitoring, kibana, timelion, login, logout and status_page. This may take a few minutes

While that is happening, we get an Out of Memory exception and it quits. Then it repeats that over and over as it attempts to start the server back up.

Is this "Optimizing plugins" line normal? I figured it's already optimized by doing all of the installs. Is there some sort of flag that isn't being tripped to signal that it already is optimized?

@spalger
Copy link
Contributor

spalger commented Apr 14, 2017

@Kikketer perhaps the optimize at run time is caused by #10724

@Kikketer
Copy link
Contributor

Kikketer commented Apr 14, 2017 via email

@epixa epixa removed the P3 label Apr 25, 2017
@tylersmalley tylersmalley added 1 and removed 1 labels Oct 11, 2021
@exalate-issue-sync exalate-issue-sync bot added impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort labels Oct 12, 2021
@tylersmalley tylersmalley removed loe:small Small Level of Effort impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. EnableJiraSync labels Mar 16, 2022
@tylersmalley
Copy link
Contributor

This is a really old issue; a lot has changed since it was opened. Primarily, we don't run the optimizer in production, so plugin installation is mostly just copying the files to the plugin directory at this point.

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

No branches or pull requests

6 participants