Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-3763

Add new processor to log user defined messages built with NiFi Expression Language

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.0
    • Core Framework
    • None

    Description

      Sometimes it would be very useful to have a NiFi processor, which can simply log messages as defined by the DataFlow Manager (DFM/operator).

      Such functionality would be a powerful aid for debugging running NiFi dataflows. The DFM should be able to specify the single line log message using NiFi Expression Language. Similarly to the existing LogAttribute processor, the DataFlow Manager should be able to specify the log level (trace, debug, info, warn, error) at which the log line is written.

      While the functionality can be achieved by combining UpdateAttribute and LogAttribute processor nodes, having to use three separate nodes (adding the log message as an attribute, logging the attribute, then removing the attribute from the flowfile's processing context) and a temporary attribute to convey the message is overly complex and clutters the flow diagram.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              peter.gergely.horvath@gmail.com Peter Horvath
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: