You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/03/15 18:17:00 UTC

[jira] [Commented] (METRON-1397) JSONMap parser should support JSON Path expressions to split input into multiple messages

    [ https://issues.apache.org/jira/browse/METRON-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400888#comment-16400888 ] 

ASF GitHub Bot commented on METRON-1397:
----------------------------------------

Github user cestella commented on the issue:

    https://github.com/apache/metron/pull/914
  
    I love this, sorry I didn't review it sooner @ottobackwards +1 by inspection.  This is great.


> JSONMap parser should support JSON Path expressions to split input into multiple messages
> -----------------------------------------------------------------------------------------
>
>                 Key: METRON-1397
>                 URL: https://issues.apache.org/jira/browse/METRON-1397
>             Project: Metron
>          Issue Type: New Feature
>            Reporter: Otto Fowler
>            Assignee: Otto Fowler
>            Priority: Major
>
> The parser interface takes byte[] and returns a list<jsonobject>.  
> It is consistent with the intent of the interface that any parser may return multiple messages from a given byte input.
> For the json map parser, we can make it easier for users (esp. if they do not have NiFi ) is we support more intake options out of the box, for instance more complex json documents containing lists of items.
> The parser should support a configuration option that declares a jsonpath statement, which will be evaluated to yield one or more 'sub' objects to be evaluated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)