How to do it…

The steps to remove a plugin are as follows:

  1. Stop your running node to prevent exceptions that are caused due to the removal of a file.
  2. Use the Elasticsearch plugin manager, which comes with its script wrapper (bin/elasticsearch-plugin).

On Linux and macOS X, type the following command:

elasticsearch-plugin remove ingest-attachment

On Windows, type the following command:

elasticsearch-plugin.bat remove ingest-attachment
  1. Restart the server.