|
@@ -11,35 +11,8 @@ 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.
|
|
|
|
|
|
-[[ingest-attachment-install]]
|
|
|
-[float]
|
|
|
-==== Installation
|
|
|
-
|
|
|
-This plugin can be installed using the plugin manager:
|
|
|
-
|
|
|
-[source,sh]
|
|
|
-----------------------------------------------------------------
|
|
|
-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.
|
|
|
-
|
|
|
-This plugin can be downloaded for <<plugin-management-custom-url,offline install>> from
|
|
|
-{plugin_url}/ingest-attachment/ingest-attachment-{version}.zip.
|
|
|
-
|
|
|
-[[ingest-attachment-remove]]
|
|
|
-[float]
|
|
|
-==== Removal
|
|
|
-
|
|
|
-The plugin can be removed with the following command:
|
|
|
-
|
|
|
-[source,sh]
|
|
|
-----------------------------------------------------------------
|
|
|
-sudo bin/elasticsearch-plugin remove ingest-attachment
|
|
|
-----------------------------------------------------------------
|
|
|
-
|
|
|
-The node must be stopped before removing the plugin.
|
|
|
+:plugin_name: ingest-attachment
|
|
|
+include::install_remove.asciidoc[]
|
|
|
|
|
|
[[using-ingest-attachment]]
|
|
|
==== Using the Attachment Processor in a Pipeline
|
|
@@ -125,7 +98,7 @@ PUT _ingest/pipeline/attachment
|
|
|
NOTE: Extracting contents from binary data is a resource intensive operation and
|
|
|
consumes a lot of resources. It is highly recommended to run pipelines
|
|
|
using this processor in a dedicated ingest node.
|
|
|
-
|
|
|
+
|
|
|
[[ingest-attachment-with-arrays]]
|
|
|
==== Using the Attachment Processor with arrays
|
|
|
|