Add fields to IngestAttachment

I'm currently using ElasticSearch to index some mail data with attachments.
My question is how to add fields like "From", "To","Cc" of the e-mail, to the index of the ingest plugin?
Currently it look like this:

        "description" : "Extract attachment information",
        "processors" : [
                "attachment" : {
                    "field" : "data",

You mean that those fields should be automatically extracted from your email?

If so, it's not doable yet. It might be in the future with:

If you meant that you know on your side those fields, then I guess you just index a JSon doc which contains those fields.

1 Like

I actually know the fields.
Thanks for the reply!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.