[ https://issues.apache.org/jira/browse/NIFI-5077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16476216#comment-16476216 ]
ASF subversion and git services commented on NIFI-5077: ------------------------------------------------------- Commit ccedc71c8b89e1792d79197f399b37b1ac541e3f in nifi's branch refs/heads/master from [~ottobackwards] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=ccedc71 ] NIFI-5077 ExtractGrok support for `keep empty captures` Support for the new option to keep empty captures. I did not add to the GrokReader because I am not sure of the effect on the schema extraction. Signed-off-by: Pierre Villard <pierre.villard...@gmail.com> This closes #2698. > Grok support for Empty Captures > ------------------------------- > > Key: NIFI-5077 > URL: https://issues.apache.org/jira/browse/NIFI-5077 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions > Affects Versions: 1.6.0 > Environment: CentOS 7 > Reporter: Ramon de Graaff > Assignee: Otto Fowler > Priority: Major > Fix For: 1.7.0 > > Attachments: grok.xml > > Original Estimate: 24h > Remaining Estimate: 24h > > Pattern matches but also attaches null values. > grok-pattern: > {{TEST %\{A}|%\{B}}} > {{A %\{INT:test}}} > {{B %\{INT:test}}} > {{INT (?:[+-]?(?:[0-9]+))}} > flowfile-content: > {{1}} > Flow file attributes after match: > {{grok.A}} > {{1}} > {{grok.TEST}} > {{1}} > {{grok.test}} > {{[1, null]}} > -- This message was sent by Atlassian JIRA (v7.6.3#76005)