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

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

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.