Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Merge Jason files


Merge Jason files

How to merge multiple jaoni files using nifi


Re: Merge Jason files

Hi @rajat puchnanda!
Guess you can try to use the MergeRecord processor, it's possible to write/read to/from JSON. So your flow would be like:


Hope this helps!

Re: Merge Jason files

Hi @Vinicius Higa Murakami, thanks for your quick response.

Can you please share the screenshot of properties tab of evaluatejsonpath and mergerecord processor. as i am new to Nifi

Re: Merge Jason files

Hi @Vinicius Higa Murakami, m trying two merge json files with the help of merge record and using controller service
JsonTreeReader and CSVWriter. but it is putting all the records in separate files instead of putting in one.

and if i use merge content which is giving me one output file as required but it is puting header for each record.

Don't have an account?
Coming from Hortonworks? Activate your account here