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.

Nifi:log File

Highlighted

Nifi:log File

I want to make log files for each processors in NiFi. I use splitText for splitting log files and then processing them after it I have one log message distribute in 5 files. I want to keep this data and write it in one log file for each processor (for example I use this expression fro getting executescript processor${regex:toLower():contains('executescript')}).

  1. How can I write this logs in one log file for each processor?
  2. Should I use any native NiFi processor or make it by Groovy code?
  3. is it possible to get connection name and then name flowfile according to it ?
  4. i want to know if it is possible to get flowilfe data and put it into json
Don't have an account?
Coming from Hortonworks? Activate your account here