docs/attachment.json
changeset 6 a6798d3cd7ea
equal deleted inserted replaced
5:ccee68e1a1fe 6:a6798d3cd7ea
       
     1 {
       
     2 	"description": "Extract attachments informations",
       
     3 	"processors": [
       
     4 		{
       
     5 			"foreach": {
       
     6 				"field": "attachments",
       
     7 				"processor": {
       
     8 					"attachment": {
       
     9 						"field": "_ingest._value.content",
       
    10 						"target_field": "_ingest._value.attachment",
       
    11 						"ignore_missing": true
       
    12 					}
       
    13 				}
       
    14 			}
       
    15 		}
       
    16 	]
       
    17 }