I want to add headers to a csv file, to it I have used given instrcutions here. Nifi: how to add custom header to CSV file, I have used Replace text processor and changed parameters as given here.
But final output just append headers to the first line.
Sample :
1,sachith,SO,1587
Expected output :
id,name,site,score
1,sachith,SO,1587
Output :
id,name,site,score,1,sachith,SO,1587
Should I use another processor or is there a missing conf?
id,name,site,score\nas the replacement value, but still same.\nwas taken as a value. - Sachith Muhandiram