[
https://issues.apache.org/jira/browse/APEXMALHAR-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15721871#comment-15721871
]
ASF GitHub Bot commented on APEXMALHAR-2365:
--------------------------------------------
GitHub user jogshraddha opened a pull request:
https://github.com/apache/apex-malhar/pull/520
APEXMALHAR-2365-Creation of generic log parser
Jira : (https://issues.apache.org/jira/browse/APEXMALHAR-2365)
APEXMALHAR-2365-Creation of generic log parser
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jogshraddha/apex-malhar
APEXMALHAR-2365-LogParser
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/apex-malhar/pull/520.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 #520
----
commit c61835fee785c69c9fd04a98bec9bcc193c10d5c
Author: jogshraddha <[email protected]>
Date: 2016-12-02T08:25:53Z
Creation of generic log parser
----
> LogParser - Operator to parse byte array using log format and emit a POJO
> -------------------------------------------------------------------------
>
> Key: APEXMALHAR-2365
> URL: https://issues.apache.org/jira/browse/APEXMALHAR-2365
> Project: Apache Apex Malhar
> Issue Type: Improvement
> Reporter: Shraddha
> Assignee: Shraddha
>
> A generic parser which takes the logFileFormat(schema with field and regex)
> as a parameter and parse the log
> Input: Byte Array
> Output: POJO
> Parameters:
> -logFileFormat - schema containing fields and regex
> -encoding - for converting tuple to String
> -tuple class
> POJO Schema Configuration is required and the order of schema should match
> with the log.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)