AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
Article Link
Collect
Submit Manuscript
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Regular Paper

ML-Parser: An Efficient and Accurate Online Log Parser

School of Computer Science, Fudan University, Shanghai 200082, China
Show Author Information

Abstract

A log is a text message that is generated in various services, frameworks, and programs. The majority of log data mining tasks rely on log parsing as the first step, which transforms raw logs into formatted log templates. Existing log parsing approaches often fail to effectively handle the trade-off between parsing quality and performance. In view of this, in this paper, we present Multi-Layer Parser (ML-Parser), an online log parser that runs in a streaming manner. Specifically, we present a multi-layer structure in log parsing to strike a balance between efficiency and effectiveness. Coarse-grained tokenization and a fast similarity measure are applied for efficiency while fine-grained tokenization and an accurate similarity measure are used for effectiveness. In experiments, we compare ML-Parser with two existing online log parsing approaches, Drain and Spell, on ten real-world datasets, five labeled and five unlabeled. On the five labeled datasets, we use the proportion of correctly parsed logs to measure the accuracy, and ML-Parser achieves the highest accuracy on four datasets. On the whole ten datasets, we use Loss metric to measure the parsing quality. ML-Parse achieves the highest quality on seven out of the ten datasets while maintaining relatively high efficiency.

Electronic Supplementary Material

Download File(s)
jcst-37-6-1412-Highlights.pdf (362.4 KB)

References

【1】
【1】
 
 
Journal of Computer Science and Technology
Pages 1412-1426

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
Zhu Y-Q, Deng J-Y, Pu J-C, et al. ML-Parser: An Efficient and Accurate Online Log Parser. Journal of Computer Science and Technology, 2022, 37(6): 1412-1426. https://doi.org/10.1007/s11390-021-0730-4

1223

Views

7

Crossref

7

Web of Science

7

Scopus

1

CSCD

Received: 21 June 2020
Accepted: 18 September 2021
Published: 30 November 2022
©Institute of Computing Technology, Chinese Academy of Sciences 2022