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
PDF (1.9 MB)
Collect
Submit Manuscript AI Chat Paper
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Research Article | Open Access

Efficient Log Parsing Method Based on Log Locality Features

School of Computer Science and Engineering, Hunan University of Science and Technology, Xiangtan 411201, China
College of Computer Science and Electronics Engineering, Hunan University, Changsha 410082, China, and also with Key Laboratory of Fusion Computing of Supercomputing and Artificial Intelligence of Ministry of Education, Changsha 410082, China
School of Computer Science and Communication Engineering, Changsha University of Science and Technology, Changsha 410114, China
Hunan Vanguard Group Co. Ltd., Changsha 410100, China
Show Author Information

Abstract

Log parsing is indispensable for system maintenance, converting unstructured log data into structured formats (log templates) for further log compression and anomaly detection. The effectiveness of log parsing relies on the efficiency of two key processes: template extraction and log matching. Traditional methods, however, suffer from slow pairwise comparisons for template extraction and the tedious, non-scalable sequential approach for template matching. Our research has uncovered two opportunities for optimization based on two log locality characteristics: logs from the same template tend to cluster sequentially, and there is a limited variety of templates used within given timeframes. To exploit these opportunities, we propose the Multi-Logs Template Extraction (MLTE)-Cache framework. MLTE-Cache leverages the MLTE algorithm to enhance the efficiency of template extraction by grouping similar logs and processing them in batch mode. Furthermore, the framework utilizes a cache-assisted proximity matching algorithm to accelerate the log matching procedure. Through comprehensive experiments on open-source datasets, the MLTE-Cache framework has proven highly effective, maintaining a high level of accuracy while delivering a 37% improvement in efficiency.

References

【1】
【1】
 
 
Tsinghua Science and Technology
Pages 1934-1948

{{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:
Wen J, Ma C, Xie K, et al. Efficient Log Parsing Method Based on Log Locality Features. Tsinghua Science and Technology, 2026, 31(3): 1934-1948. https://doi.org/10.26599/TST.2024.9010192

3186

Views

200

Downloads

3

Crossref

0

Web of Science

0

Scopus

0

CSCD

Received: 02 September 2024
Revised: 26 September 2024
Accepted: 01 October 2024
Published: 19 December 2025
© The author(s) 2026.

The articles published in this open access journal are distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/).