Support Questions
Find answers, ask questions, and share your expertise

Modifying json content in NiFi

Highlighted

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
Highlighted

Re: Modifying json content in NiFi

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 Moderator
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.