src/com/amazon/kinesis/streaming/agent/processing/parsers/ApacheLogParser.java [78:94]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            List<String> customFields) {
        super(format, matchPattern, customFields);
    }

    @Override
    public Map<String, Object> parseLogRecord(String record, List<String> fields) throws LogParsingException {
        if (fields == null) {
            fields = getFields();
        }
        final Map<String, Object> recordMap = new LinkedHashMap<String, Object>();
        Matcher matcher = logEntryPattern.matcher(record);
        
        if (!matcher.matches()) {
            throw new LogParsingException("Invalid log entry given the entry pattern");
        }
        
        if (matcher.groupCount() != fields.size()) {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/com/amazon/kinesis/streaming/agent/processing/parsers/SysLogParser.java [59:75]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            List<String> customFields) {
        super(format, matchPattern, customFields);
    }

    @Override
    public Map<String, Object> parseLogRecord(String record, List<String> fields) throws LogParsingException {
        if (fields == null) {
            fields = getFields();
        }
        final Map<String, Object> recordMap = new LinkedHashMap<String, Object>();
        Matcher matcher = logEntryPattern.matcher(record);
        
        if (!matcher.matches()) {
            throw new LogParsingException("Invalid log entry given the entry pattern");
        }
        
        if (matcher.groupCount() != fields.size()) {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



