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

GrokReader - Add a failure option to unmatch behavior options

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Extensions
    • None

    Description

      At the moment, when using the GrokReader, if a line does not match the grok expression (and is not part of a stack trace), the line can be either ignored (the line will be completely skipped) or appended to the last field from the previous line.

      In the case where appending is not desired and that data should not be ignored/deleted, we should add the option to route the full flow file to the failure relationship. This way the flow file could be treated in a different way (for example with SplitText and ExtractGrok to isolate the incorrect lines and re-route the correct lines back to the Record processors).

      Attachments

        Activity

          People

            pvillard Pierre Villard
            pvillard Pierre Villard
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m