Github user mattf-horton commented on a diff in the pull request:
https://github.com/apache/incubator-metron/pull/308#discussion_r83296339
--- Diff:
metron-platform/metron-parsers/src/main/java/org/apache/metron/parsers/bolt/ParserBolt.java
---
@@ -117,7 +117,7 @@ public void execute(Tuple tuple) {
int numWritten = 0;
if(sensorParserConfig != null) {
List<FieldValidator> fieldValidations =
getConfigurations().getFieldValidations();
- Optional<List<JSONObject>> messages =
parser.parseOptional(originalMessage);
+ Optional<List<JSONObject>> messages =
parser.parseOptional(originalMessage, sensorParserConfig);
--- End diff --
This patch is premised on the idea that changes to the sensorParserConfig
will be recognized and passed in to the GrokParser from the ParserBolt. Sorry
I'm not familiar enough with the code, but I can't find where the
sensorParserConfig is refreshed, or how often it happens. Can you please point
it out? Thanks.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---