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