docs/attachment.json
changeset 6 a6798d3cd7ea
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/attachment.json	Tue Jun 06 17:22:24 2017 +0200
@@ -0,0 +1,17 @@
+{
+	"description": "Extract attachments informations",
+	"processors": [
+		{
+			"foreach": {
+				"field": "attachments",
+				"processor": {
+					"attachment": {
+						"field": "_ingest._value.content",
+						"target_field": "_ingest._value.attachment",
+						"ignore_missing": true
+					}
+				}
+			}
+		}
+	]
+}