Hi All,

I have a JOSN Flow file 

<http://apache-nifi-users-list.2361937.n4.nabble.com/file/t310/NifiRedHelp.png> 
 From this  I want to make it like

<http://apache-nifi-users-list.2361937.n4.nabble.com/file/t310/NifiHelp.png> 

To accomplish this task I selected ExecuteScript Processor using Groovy
script.
I have a regex which matches *Mon Oct 09 23:38:55 IST 2017* and I want to
read the json data and check the regex condition to format is like
*toDate("EEE MMM dd HH:mm:ss z yyyy"):toNumber():format("yyyy-MM-dd
HH:mm:ss.S")*  and overwrite it to same flow file.

I'm new to Groovy scripting.

Any Suggestions any suggestions would be appreciated.



Thanks
Rakesh.



--
Sent from: http://apache-nifi-users-list.2361937.n4.nabble.com/

Reply via email to