logparser icon indicating copy to clipboard operation
logparser copied to clipboard

update code with python >3.6 version Spell

Open shoaib-intro opened this issue 3 years ago • 0 comments

Hi, I observed there is most frequent error in log parsing drain and spell which is: re.error: bad escape \s at position 0 because of this someone need to install python 3.6. can fix this in spell by replacing splitter = re.sub(' +', '\s+', splitters[k]) with splitter = re.sub(' +', '\\\s+', splitters[k]) #splitter = re.sub(' +', '\s+', splitters[k])?

shoaib-intro avatar Jul 26 '22 09:07 shoaib-intro