Search code examples
apache-nifi

Apache Nifi PutFTP change extension of file


I transform csv data to json and write that information to PutFTP, the extension of the file output is csv and not json. How can I override this information for the PutFTP processor.


Solution

  • Use an UpdateAttribute processor to change the filename attribute of the flowfile from example.csv to example.json.