[
https://issues.apache.org/jira/browse/NIFI-9850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann updated NIFI-9850:
-----------------------------------
Status: Patch Available (was: Open)
> Add support for Multiple Expressions to GrokReader
> --------------------------------------------------
>
> Key: NIFI-9850
> URL: https://issues.apache.org/jira/browse/NIFI-9850
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Minor
>
> 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)