[
https://issues.apache.org/jira/browse/NIFI-4789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16329596#comment-16329596
]
ASF GitHub Bot commented on NIFI-4789:
--------------------------------------
GitHub user charlesporter opened a pull request:
https://github.com/apache/nifi/pull/2411
NIFI-4789 Extract grok multi pattern support
ExtractGrok Processor supports multiple expressions
-separated by comma or by specified delimiter
-option to return on first match or to run all expressions in list
ralated enhancements:
-multiple pattern files support
-selectable result attribute prefix (default unchanged from '.grok')
implemented by creating multiple kraken-Grok objects. It is possible that
performance could be improved by using elasticsearch implementation:
https://github.com/elastic/elasticsearch/tree/d6d0c13bd63f28347ebdb0f9364e44921c248b8b/modules/ingest-common/src/main/java/org/elasticsearch/ingest/commoncommon/src/main/java/org/elasticsearch/ingest/common/Grok.java
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/charlesporter/nifi ExtractGrokMultiPattern
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/2411.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2411
----
commit 66b072a3d7348cb8dc1d2c6ab52634116b1bf6d7
Author: charlesporter <public.charles@...>
Date: 2018-01-17T04:14:45Z
ExtractGrok Supports multiple expressions
-separated by comma or specified delimiter
-option to return on first match or to run all expressions in list
other enhancements
-multiple pattern files
-selectable result attribute prefix
commit dd8bc224c5193c8b6b47fb8babf6cb6c8323eef3
Author: charlesporter <public.charles@...>
Date: 2018-01-17T04:14:45Z
ExtractGrok Supports multiple expressions
-separated by comma or specified delimiter
-option to return on first match or to run all expressions in list
other enhancements
-multiple pattern files
-selectable result attribute prefix
commit f289df5613046ad8595ce8b980e7063c59ee8cdb
Author: charlesporter <public.charles@...>
Date: 2018-01-17T22:04:29Z
remerge
----
> Enhance ExtractGrok processor to handle multiple grok expressions
> -----------------------------------------------------------------
>
> Key: NIFI-4789
> URL: https://issues.apache.org/jira/browse/NIFI-4789
> Project: Apache NiFi
> Issue Type: New Feature
> Components: Core Framework
> Affects Versions: 1.2.0, 1.5.0
> Environment: all
> Reporter: Charles Porter
> Priority: Minor
> Labels: features
>
> Many flows require running several grok expressions against an input to
> correctly tag and extract data. using many separate grok processors to
> accomplish this is unwieldy and hard to maintain. Supporting multiple grok
> expressions delimited by comma or user selected delimiter greatly simplifies
> this.
> Feature is coded and tested, ready for pull request, if feature is approved
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)