WARNING: Version 5.1 of Kibana has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Installing Plugins
editInstalling Plugins
editUse 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
Installing Plugins from an Arbitrary URL
editYou can download official Elastic plugins simply by specifying their name. You can alternatively specify a URL to a specific plugin, as in the following example:
$ bin/kibana-plugin install https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-5.1.2.zip
You can specify URLs that use the HTTP, HTTPS, or file
protocols.
Installing Plugins to an Arbitrary Directory
editUse the -d
or --plugin-dir
option after the install
command to specify a directory for plugins, as in the following
example:
$ bin/kibana-plugin install file:///some/local/path/x-pack.zip -d path/to/directory
This command creates the specified directory if it does not already exist.
Installing Plugins with Linux packages
editThe Kibana server needs to be able to write to files in the optimize
directory. If you’re installing plugins using sudo or su you’ll
want to make sure these commands are ran as the user kibana
. This user is already added for you as part of the package installation.
$ sudo -u kibana bin/kibana-plugin install x-pack
If plugins were installed as a different user and the server is not starting, then you will need to change the owner of these files:
$ chown -R kibana:kibana /path/to/kibana/optimize