If there are multiple fields in json which has to be mapped as attachment. And those keys are dynamic in nature or follow some convention, then those can not be used in ingest attachment plugin.
For e.g. if I want to process attachment for fields starting with Attachment_*.
Today ingest attachment plugin doesn't support this feature.
In older version, this is supported using mix of dynamic template + mapper attachment plugin.