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

Modifying json content in NiFi

Modifying json content in NiFi

New Contributor

I am trying to shift a key value string in a json flow file content to the top or "header" of the flow file content.


As seen below I would like the "MessageID" at the top of the json content.


I have tried the below with convert record which works, but the value of the key "MessageID" is lost doing it this way.


https://community.hortonworks.com/questions/202183/how-to-order-the-output-of-a-flowfile-in-nifi.htm...


Current Output:

108556-output.png


Desired Output:

108613-desiredoutput.png

1 REPLY 1

Re: Modifying json content in NiFi

Community Manager

The above was originally posted in the Community Help track. On Sat May 11 03:11 UTC 2019, the HCC moderation staff moved it to the Data Ingestion & Streaming track. The Community Help track is intended for questions about using the HCC site itself.

Bill Brooks, Community Manager
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Don't have an account?
Coming from Hortonworks? Activate your account here