[
https://issues.apache.org/jira/browse/NIFI-9850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17516358#comment-17516358
]
ASF subversion and git services commented on NIFI-9850:
-------------------------------------------------------
Commit e6e4109cf901d19e99f5d6b9df7a988750a16065 in nifi's branch
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=e6e4109 ]
NIFI-9850 Add support for multiple expressions to GrokReader (#5918)
* NIFI-9850 Added support for multiple expressions to GrokReader
- Updated Grok Expression property to support Resources
* NIFI-9850 Updated documentation for Fields from Grok Expression strategy
This closes #5918
Signed-off-by: Otto Fowler <[email protected]>
> Add support for Multiple Expressions to GrokReader
> --------------------------------------------------
>
> Key: NIFI-9850
> URL: https://issues.apache.org/jira/browse/NIFI-9850
> Project: Apache NiFi
> Issue Type: New Feature
> Components: Extensions
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Minor
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> 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{}}}.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)