I find the JOLT processors excellent for transforming JSON and you can use either the transform demo at jolt-demo.appspot.com or the advanced menu of the JoltTransformJSON processor as a workbench.
Regards Steve Hindmarch From: Pierre Villard <pierre.villard...@gmail.com> Sent: Wednesday, October 9, 2024 10:24 AM To: users@nifi.apache.org Subject: Re: Processor for Python Script (not a python processor) Hi Luis, Any reason for not using a Python processor? Also, if your transformation is easy, it's very likely doable with existing processors. Otherwise ExecuteStreamCommand might be an option for executing a local script on the NiFi node. Thanks, Pierre Le mer. 9 oct. 2024 à 05:06, Luis Carmona <luis.carm...@openpartner.cl<mailto:luis.carm...@openpartner.cl>> a écrit : Hi folks, I need to run a python script or javascript to perform a very simple json data transformation - Already checked ScriptedTransformRecord, but it has options for Groovy & Clojure only. Tried the javascript syntax in Clojure but didn't work and couldn't find the right way to right the Clojure script. - Checked ExecuteScript as well but is says Experimental and documentation says "No script engines found" for script engine so couldn't figure out how to use either. Which would be the best way to run a short piece of python code ? I am trying with NIFI 2.0 M4. Any tip, sample or tutorial would be great, thanks in advance. Luis