This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Plugin management
editPlugin management
editManaging plugins on Elasticsearch Service
editRefer to the Elasticsearch Service documentation for information about managing plugins on Elastic Cloud.
Managing plugins for self-managed deployments
editUse the elasticsearch-plugin
command line tool to install, list, and remove plugins. It is
located in the $ES_HOME/bin
directory by default but it may be in a
different location depending on which Elasticsearch package you installed:
Run the following command to get usage instructions:
sudo bin/elasticsearch-plugin -h
Running as root
If Elasticsearch was installed using the deb or rpm package then run
/usr/share/elasticsearch/bin/elasticsearch-plugin
as root
so it can write to the appropriate files on disk.
Otherwise run bin/elasticsearch-plugin
as the user that owns all of the Elasticsearch
files.
Docker
editIf you run Elasticsearch using Docker, you can manage plugins using a configuration file.