Ingest Attachment Processor Plugin
editIngest Attachment Processor Plugin
editThe ingest attachment plugin lets Elasticsearch extract file attachments in common formats (such as PPT, XLS, and PDF) by using the Apache text extraction library Tika.
You can use the ingest attachment plugin as a replacement for the mapper attachment plugin.
The source field must be a base64 encoded binary. If you do not want to incur the overhead of converting back and forth between base64, you can use the CBOR format instead of JSON and specify the field as a bytes array instead of a string representation. The processor will skip the base64 decoding then.
Installation
editThis plugin can be installed using the plugin manager:
sudo bin/elasticsearch-plugin install ingest-attachment
The plugin must be installed on every node in the cluster, and each node must be restarted after installation.
You can download this plugin for offline
install from https://artifacts.elastic.co/downloads/elasticsearch-plugins/ingest-attachment/ingest-attachment-7.17.26.zip. To verify
the .zip
file, use the
SHA hash or
ASC key.
Removal
editThe plugin can be removed with the following command:
sudo bin/elasticsearch-plugin remove ingest-attachment
The node must be stopped before removing the plugin.