I want to make log files for nifi processors , i get them form tailFail and split text line by line then check if it is error , info or warn log and route to executescript processors but at this time i have 5 flowfiles and i want to unify this split flowfiles and write it in one flowfile, i tried to use merge content but i think it doesn't fit my task.
- I also want to know if nifi custom log return log files for all processors i have added in my workflow and is it nessecary to add appenders inside logback.xml.
- I want to know if it is possible to unify split log data?
(p.s i tried routeonAttriute also but it doesn't work for me)
my workflow looks like this:

