Installing Plugins
editInstalling Plugins
editThe documentation for each plugin usually includes specific installation instructions for that plugin, but below we document the various available options:
Core Elasticsearch plugins
editCore Elasticsearch plugins can be installed as follows:
sudo bin/plugin install [plugin_name]
For instance, to install the core ICU plugin, just run the following command:
sudo bin/plugin install analysis-icu
This command will install the version of the plugin that matches your Elasticsearch version.
Community and non-core plugins
editNon-core plugins provided by Elasticsearch, or plugins provided by the
community, can be installed from download.elastic.co, from Maven (Central
and Sonatype), or from GitHub. In this case, the command is as follows:
sudo bin/plugin install [org]/[user|component]/[version]
For instance, to install the Kopf plugin from GitHub, run one of the following commands:
sudo bin/plugin install lmenezes/elasticsearch-kopf sudo bin/plugin install lmenezes/elasticsearch-kopf/2.x
When installing from Maven Central/Sonatype, [org] should be replaced by
the artifact groupId, and [user|component] by the artifactId. For
instance, to install the
mapper attachment
plugin from Sonatype, run:
Custom URL or file system
editA plugin can also be downloaded directly from a custom location by specifying the URL:
For instance, to install a plugin from your local file system, you could run:
sudo bin/plugin install file:/path/to/plugin.zip
The plugin script will refuse to talk to an HTTPS URL with an untrusted certificate. To use a self-signed HTTPS cert, you will need to add the CA cert to a local Java truststore and pass the location to the script as follows:
sudo bin/plugin -Djavax.net.ssl.trustStore=/path/to/trustStore.jks install https://....