install_remove.asciidoc 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. [float]
  2. [id="{plugin_name}-install"]
  3. ==== Installation
  4. ifeval::["{release-state}"=="unreleased"]
  5. Version {version} of the Elastic Stack has not yet been released.
  6. endif::[]
  7. ifeval::["{release-state}"!="unreleased"]
  8. This plugin can be installed using the plugin manager:
  9. ["source","sh",subs="attributes,callouts"]
  10. ----------------------------------------------------------------
  11. sudo bin/elasticsearch-plugin install {plugin_name}
  12. ----------------------------------------------------------------
  13. The plugin must be installed on every node in the cluster, and each node must
  14. be restarted after installation.
  15. This plugin can be downloaded for <<plugin-management-custom-url,offline install>> from
  16. {plugin_url}/{plugin_name}/{plugin_name}-{version}.zip.
  17. endif::[]
  18. [float]
  19. [id="{plugin_name}-remove"]
  20. ==== Removal
  21. The plugin can be removed with the following command:
  22. ["source","sh",subs="attributes,callouts"]
  23. ----------------------------------------------------------------
  24. sudo bin/elasticsearch-plugin remove {plugin_name}
  25. ----------------------------------------------------------------
  26. The node must be stopped before removing the plugin.