A list of the currently loaded plugins can be retrieved with the
sudo bin/elasticsearch-plugin list
Alternatively, use the node-info API to find out which plugins are installed on each node in the cluster
Plugins can be removed manually, by deleting the appropriate directory under
plugins/, or using the public script:
sudo bin/elasticsearch-plugin remove [pluginname]
After a Java plugin has been removed, you will need to restart the node to complete the removal process.
By default, plugin configuration files (if any) are preserved on disk; this is
so that configuration is not lost while upgrading a plugin. If you wish to
purge the configuration files while removing a plugin, use
This can option can be used after a plugin is removed to remove any lingering
Removing multiple pluginsedit
Multiple plugins can be removed in one invocation as follows:
sudo bin/elasticsearch-plugin remove [pluginname] [pluginname] ... [pluginname]
Except for text analysis plugins that are created using the stable plugin API, plugins are built for a specific version of Elasticsearch, and must be reinstalled each time Elasticsearch is updated.
sudo bin/elasticsearch-plugin remove [pluginname] sudo bin/elasticsearch-plugin install [pluginname]