Sounds like you want to look at enrichment with the LookupRecord processors and Mongo. https://community.hortonworks.com/articles/146198/data-flow-enrichment-with-nifi-part-3-lookuprecord.html
On November 29, 2018 at 17:12:38, Ryan Hendrickson ( [email protected]) wrote: Hi all, I'm curious if the GetMongo processor can allow you can pass in a FlowFile Document and enrich the original FlowFile document with the results from the Query Result - or more generally store the result as a NiFi Attribute, instead of replacing the content in the FlowFile. I really want to "enrich" my results with data from Mongo, not replace my FlowFile with the database record that matches. I had thought I had figured out a way to do this in the past, but can't seem to replicate it, so I figured I'd ask the community. Thanks, Ryan
