Standalone Elasticsearch plugin install

If you don’t want to use the all-in-one Open Distro for Elasticsearch installation options, you can install the Security, Alerting, SQL, and Performance Analyzer plugins on a compatible Elasticsearch cluster just like any other Elasticsearch plugin.

In addition to their Elasticsearch plugins, Security and Alerting have corresponding Kibana plugins that you probably want to install, as well.

Navigate to the Elasticsearch home directory (likely /usr/share/elasticsearch) and run the install command for each plugin.


sudo bin/elasticsearch-plugin install


sudo bin/elasticsearch-plugin install


sudo bin/elasticsearch-plugin install

Performance Analyzer

sudo bin/elasticsearch-plugin install


See Version history for the versions of Elasticsearch that Open Distro for Elasticsearch supports. You must have the exact compatible version installed (e.g. 6.6.2 and not 6.6.1). To get a list of available Elasticsearch versions on CentOS 7 and Amazon Linux 2:

sudo yum --showduplicates list elasticsearch

Then you can specify the version you need:

sudo yum install elasticsearch-6.6.2

After installing the Security plugin, you can run sudo sh /usr/share/elasticsearch/plugins/opendistro_security/tools/ to quickly get started with demo certificates or configure it manually for production workloads.

List installed plugins

To check your installed plugins:

sudo bin/elasticsearch-plugin list

Remove plugins

sudo bin/elasticsearch-plugin remove <plugin-name>

Then restart Elasticsearch on the node.

Update plugins

Elasticsearch doesn’t update plugins. Instead, you have to remove and reinstall them:

sudo bin/elasticsearch-plugin remove <plugin-name>
sudo bin/elasticsearch-plugin install <plugin-name>