MCPcopy Create free account
hub / github.com/logpai/logparser / preprocess

Method preprocess

logparser/Spell/Spell.py:315–318  ·  view source on GitHub ↗
(self, line)

Source from the content-addressed store, hash-verified

313 )
314
315 def preprocess(self, line):
316 for currentRex in self.rex:
317 line = re.sub(currentRex, "<*>", line)
318 return line
319
320 def log_to_dataframe(self, log_file, regex, headers, logformat):
321 """Function to transform log file to dataframe"""

Callers 1

parseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected