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

Add support for Multiple Expressions to GrokReader

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.17.0
    • Extensions
    • None

    Description

      The GrokReader service includes a single property named Grok Expression, which the Reader uses to parse input lines. This approach requires the configured Grok Expression to handle all possible formats for input lines.

      The GrokReader should be enhanced to support multiple expressions that the Reader can use when attempting to parse input lines. The Reader should follow the configured order of multiple expressions.

      Support for multiple expressions could be configured using the property value itself, or through a file that could be referenced from an external location.

      The implementation should maintain compatibility with the current GrokReader.

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              exceptionfactory David Handermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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