[
https://issues.apache.org/jira/browse/METRON-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15630178#comment-15630178
]
Karthik Narayanan commented on METRON-295:
------------------------------------------
it is very similar to grok.
{
"parserClassName": "org.apache.metron.parsers.ScriptParser",
"sensorTopic": "squid",
"parserConfig": {
"path": "/path/to/script",
"parseFunction": "defaults to parse if not provided",
"language":"js/python/groovy"
"timestampField": "timestamp"
},
}
> Script parsing bolt
> --------------------
>
> Key: METRON-295
> URL: https://issues.apache.org/jira/browse/METRON-295
> Project: Metron
> Issue Type: New Feature
> Affects Versions: 0.2.1BETA
> Reporter: James Sirota
> Assignee: Karthik Narayanan
> Priority: Minor
> Labels: newbie, platform
> Fix For: 0.2.2BETA
>
>
> In addition to having a Grok parsing bolt we need a bolt that can execute a
> script in order to parse a telemetry. This way you can still script the
> parsing for telemetries for which Grok expressions are too complex, but still
> don't have to define a java parser
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)