Install plugins
Use the following command to install a plugin:
bin/kibana-plugin install <package name or URL>
When you specify a plugin name without a URL, the plugin tool attempts to download an official Elastic plugin, such as:
$ bin/kibana-plugin install x-pack
Install plugins from an arbitrary URL
You can download official Elastic plugins simply by specifying their name. You can alternatively specify a URL or file path to a specific plugin, as in the following examples:
$ bin/kibana-plugin install https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-7.9.1.zip
or
$ bin/kibana-plugin install file:///local/path/to/custom_plugin.zip
You can specify URLs that use the HTTP, HTTPS, or file
protocols.
Proxy support for plugin installation
Kibana supports plugin installation via a proxy. It uses the http_proxy
and https_proxy
environment variables to detect a proxy for HTTP and HTTPS URLs.
It also respects the no_proxy
environment variable to exclude specific URLs from proxying.
You can specify the environment variable directly when installing plugins:
$ http_proxy="http://proxy.local:4242" bin/kibana-plugin install <package name or URL>