def _extract_line_features(self):
for line in self.line_iterator:<EOL><INDENT>m = re.search(GENERIC_IPV4_REGEX, line)<EOL>data = {<EOL>'<STR_LIT>': line<EOL>}<EOL>if m:<EOL><INDENT>data['<STR_LIT>'] = m.group('<STR_LIT>')<EOL><DEDENT>self.parsed_lines.append(data)<EOL><DEDENT>
Parse raw log lines and convert it to a dictionary with extracted features.