You have installed some plugins and now you need to remove a plugin because it's not required. Removing an ElasticSearch plugin is easy to uninstall if everything goes right, otherwise you need to manually remove it.
This recipe covers both cases.
You need an installed working ElasticSearch server with an installed plugin. Stop the ElasticSearch server in order to safely remove the plugin.
ElasticSearch Plugin Manager, which comes with its script wrapper (plugin), provides command to automatically remove a plugin.
plugin -remove mobz/elasticsearch-head
or
plugin -remove head
plugin.bat -remove mobz/elasticsearch-head
or
plugin.bat –remove head
The Plugin Manager –remove
command tries to detect the correct name of the plugin and remove the directory of the installed plugin.
If there are undeletable files in your plugin directory (or a strange astronomical event that hits your server), the plugin script may fail: to manually remove a plugin, go in to the plugins directory and remove the directory with your plugin name.
13.58.253.197