A Large-Scale Evaluation for Log Parsing Techniques: How Far Are We?
Zhihan Jiang, Jinyang Liu, Junjie Huang, Yichen Li, Yintong Huo, Jiazhen Gu, Zhuangbin Chen, Jieming Zhu, Michael R. Lyu
Abstract
Log data have facilitated various tasks of software development and maintenance, such as testing, debugging and diagnosing. Due to the unstructured nature of logs, log parsing is typically required to transform log messages into structured data for automated log analysis. Given the abundance of log parsers that employ various techniques, evaluating these tools to comprehend their characteristics and performance becomes imperative. Loghub serves as a commonly used dataset for benchmarking log parsers, but it suffers from limited scale and representativeness, posing significant challenges for studies to comprehensively evaluate existing log parsers or develop new methods. This limitation is particularly pronounced when assessing these log parsers for production use. To address these limitations, we provide a new collection of annotated log datasets, denoted Loghub-2.0, which can better reflect the characteristics of log data in real-world software systems. Loghub-2.0 comprises 14 datasets with an average of 3.6 million log lines in each dataset. Based on Loghub-2.0, we conduct a thorough re-evaluation of 15 state-of-the-art log parsers in a more rigorous and practical setting. Particularly, we introduce a new evaluation metric to mitigate the sensitivity of existing metrics to imbalanced data distributions. We are also the first to investigate the granular performance of log parsers on logs that represent rare system events, offering in-depth details for software diagnosis. Accurately parsing such logs is essential, yet it remains a challenge. We believe this work could shed light on the evaluation and design of log parsers in practical settings, thereby facilitating their deployment in production systems.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
10 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- LibreLog: Accurate and Efficient Unsupervised Log Parsing Using Open-Source Large Language Models cites Guidelines for Assessing the Accuracy of Log Message Template Identification Techniques
- LibreLog: Accurate and Efficient Unsupervised Log Parsing Using Open-Source Large Language Models cites UniParser: A Unified Log Parser for Heterogeneous Log Data
- LibreLog: Accurate and Efficient Unsupervised Log Parsing Using Open-Source Large Language Models cites Log Parsing with Prompt-based Few-shot Learning
- Demonstration-Free: Towards More Practical Log Parsing with Large Language Models cites Log-based Anomaly Detection with Deep Learning: How Far Are We?
- Demonstration-Free: Towards More Practical Log Parsing with Large Language Models cites Guidelines for Assessing the Accuracy of Log Message Template Identification Techniques
- Demonstration-Free: Towards More Practical Log Parsing with Large Language Models cites UniParser: A Unified Log Parser for Heterogeneous Log Data
- Demonstration-Free: Towards More Practical Log Parsing with Large Language Models cites Log Parsing with Prompt-based Few-shot Learning
- No More Labelled Examples? An Unsupervised Log Parser with LLMs cites COCA: Generative Root Cause Analysis for Distributed Systems with Code Knowledge
- No More Labelled Examples? An Unsupervised Log Parser with LLMs cites Guidelines for Assessing the Accuracy of Log Message Template Identification Techniques
- No More Labelled Examples? An Unsupervised Log Parser with LLMs cites UniParser: A Unified Log Parser for Heterogeneous Log Data
- No More Labelled Examples? An Unsupervised Log Parser with LLMs cites Log Parsing with Prompt-based Few-shot Learning
- Small Is Beautiful: A Practical and Efficient Log Parsing Framework cites No More Labelled Examples? An Unsupervised Log Parser with LLMs
- Small Is Beautiful: A Practical and Efficient Log Parsing Framework cites Guidelines for Assessing the Accuracy of Log Message Template Identification Techniques
- Small Is Beautiful: A Practical and Efficient Log Parsing Framework cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
- UniParser: A Unified Log Parser for Heterogeneous Log Data cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
- Log Parsing with Prompt-based Few-shot Learning cites Log-based Anomaly Detection with Deep Learning: How Far Are We?
- Log Parsing with Prompt-based Few-shot Learning cites Guidelines for Assessing the Accuracy of Log Message Template Identification Techniques
- Log Parsing with Prompt-based Few-shot Learning cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
- Log Parsing with Prompt-based Few-shot Learning cites UniParser: A Unified Log Parser for Heterogeneous Log Data
Cited by top-tier papers10
- No More Labelled Examples? An Unsupervised Log Parser with LLMsJunjie Huang, Zhihan Jiang, Zhuangbin Chen, Michael R. LyuFSE 2025 · 13 citations
- Demonstration-Free: Towards More Practical Log Parsing with Large Language ModelsYi Xiao, Van-Hoang Le, Hongyu ZhangASE 2024 · 9 citations
- LibreLog: Accurate and Efficient Unsupervised Log Parsing Using Open-Source Large Language ModelsZeyang Ma, Dong Jae Kim, Tse-Hsun Peter ChenICSE 2025 · 7 citations
- COCA: Generative Root Cause Analysis for Distributed Systems with Code KnowledgeYichen Li, Yulun Wu, Jinyang Liu, Zhihan Jiang et al.ICSE 2025 · 6 citations
- Small Is Beautiful: A Practical and Efficient Log Parsing FrameworkMinxing Wang, Yintong HuoFSE 2026 · 1 citation
Builds on11
- DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep LearningMin Du, Feifei Li, Guineng Zheng, Vivek SrikumarCCS 2017 · 1,823 citations
- Log-based Anomaly Detection with Deep Learning: How Far Are We?Van-Hoang Le, Hongyu ZhangICSE 2022 · 212 citations
- UniParser: A Unified Log Parser for Heterogeneous Log DataYudong Liu, Xu Zhang, Shilin He, Hongyu Zhang et al.WWW 2022 · 148 citations
- Log Parsing with Prompt-based Few-shot LearningVan-Hoang Le, Hongyu ZhangICSE 2023 · 98 citations
- Guidelines for Assessing the Accuracy of Log Message Template Identification TechniquesZanis Ali Khan, Donghwan Shin, Domenico Bianculli, Lionel C. BriandICSE 2022 · 77 citations
Related papers
- LogParser-LLM: Advancing Efficient Log Parsing with Large Language ModelsAoxiao Zhong, Dengyao Mo, Guiyang Liu, Jinbu Liu et al.KDD 2024 · 41 citations
- LogBase: A Large-Scale Benchmark for Semantic Log ParsingChenbo Zhang, Wenying Xu, Jinbu Liu, Lu Zhang et al.ISSTA 2025 · 5 citations
- SLGParser: Practical and Efficient Label-Free Log Parsing Using Large Language ModelsYibing Hu, Cong Wang, Lixin Zhao, Aimin YuICDE 2026
- SPINE: a scalable log parser with feedback guidanceXuheng Wang, Xu Zhang, Liqun Li, Shilin He et al.FSE 2022 · 48 citations
- Hue: A User-Adaptive Parser for Hybrid LogsJunjielong Xu, Qiuai Fu, Zhouruixing Zhu, Yutong Cheng et al.FSE 2023 · 18 citations
