SPINE: a scalable log parser with feedback guidance
Xuheng Wang, Xu Zhang, Liqun Li, Shilin He, Hongyu Zhang, Yudong Liu, Lingling Zheng, Yu Kang, Qingwei Lin, Yingnong Dang, Saravanakumar Rajmohan, Dongmei Zhang
摘要
Log parsing, which extracts log templates and parameters, is a critical prerequisite step for automated log analysis techniques. Though existing log parsers have achieved promising accuracy on public log datasets, they still face many challenges when applied in the industry. Through studying the characteristics of real-world log data and analyzing the limitations of existing log parsers, we identify two problems. Firstly, it is non-trivial to scale a log parser to a vast number of logs, especially in real-world scenarios where the log data is extremely imbalanced. Secondly, existing log parsers overlook the importance of user feedback, which is imperative for parser fine-tuning under the continuous evolution of log data. To overcome the challenges, we propose SPINE, which is a highly scalable log parser with user feedback guidance. Based on our log parser equipped with initial grouping and progressive clustering, we propose a novel log data scheduling algorithm to improve the efficiency of parallelization under the large-scale imbalanced log data. Besides, we introduce user feedback to make the parser fast adapt to the evolving logs. We evaluated SPINE on 16 public log datasets. SPINE achieves more than 0.90 parsing accuracy on average with the highest parsing efficiency, which outperforms the state-of-the-art log parsers. We also evaluated SPINE in the production environment of Microsoft, in which SPINE can parse 30 million logs in less than 8 minutes under 16 executors, achieving near real-time performance. In addition, our evaluations show that SPINE can consistently achieve good accuracy under log evolution with a moderate number of user feedback.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- On the Feasibility of Parser-based Log Compression in Large-Scale Cloud Systems 引用了 DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
- LogParser-LLM: Advancing Efficient Log Parsing with Large Language Models 引用了 Guidelines for Assessing the Accuracy of Log Message Template Identification Techniques
- LogParser-LLM: Advancing Efficient Log Parsing with Large Language Models 引用了 DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
- LogParser-LLM: Advancing Efficient Log Parsing with Large Language Models 引用了 DivLog: Log Parsing with Prompt Enhanced In-Context Learning
- LILAC: Log Parsing using LLMs with Adaptive Parsing Cache 引用了 Guidelines for Assessing the Accuracy of Log Message Template Identification Techniques
- LILAC: Log Parsing using LLMs with Adaptive Parsing Cache 引用了 Hue: A User-Adaptive Parser for Hybrid Logs
- DivLog: Log Parsing with Prompt Enhanced In-Context Learning 引用了 Guidelines for Assessing the Accuracy of Log Message Template Identification Techniques
- DivLog: Log Parsing with Prompt Enhanced In-Context Learning 引用了 DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
- Hue: A User-Adaptive Parser for Hybrid Logs 引用了 On the Feasibility of Parser-based Log Compression in Large-Scale Cloud Systems
- Hue: A User-Adaptive Parser for Hybrid Logs 引用了 Guidelines for Assessing the Accuracy of Log Message Template Identification Techniques
- Hue: A User-Adaptive Parser for Hybrid Logs 引用了 DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
- A Large-Scale Evaluation for Log Parsing Techniques: How Far Are We? 引用了 Guidelines for Assessing the Accuracy of Log Message Template Identification Techniques
- A Large-Scale Evaluation for Log Parsing Techniques: How Far Are We? 引用了 DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
引用它的顶会 Paper10
- LILAC: Log Parsing using LLMs with Adaptive Parsing CacheZhihan Jiang, Jinyang Liu, Zhuangbin Chen, Yichen Li 等FSE 2024 · 85 次引用
- DivLog: Log Parsing with Prompt Enhanced In-Context LearningJunjielong Xu, Ruichun Yang, Yintong Huo, Chengyu Zhang 等ICSE 2024 · 54 次引用
- A Large-Scale Evaluation for Log Parsing Techniques: How Far Are We?Zhihan Jiang, Jinyang Liu, Junjie Huang, Yichen Li 等ISSTA 2024 · 52 次引用
- LogParser-LLM: Advancing Efficient Log Parsing with Large Language ModelsAoxiao Zhong, Dengyao Mo, Guiyang Liu, Jinbu Liu 等KDD 2024 · 41 次引用
- Hue: A User-Adaptive Parser for Hybrid LogsJunjielong Xu, Qiuai Fu, Zhouruixing Zhu, Yutong Cheng 等FSE 2023 · 18 次引用
它引用的 Paper3
- DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep LearningMin Du, Feifei Li, Guineng Zheng, Vivek SrikumarCCS 2017 · 1,823 次引用
- Guidelines for Assessing the Accuracy of Log Message Template Identification TechniquesZanis Ali Khan, Donghwan Shin, Domenico Bianculli, Lionel C. BriandICSE 2022 · 77 次引用
- On the Feasibility of Parser-based Log Compression in Large-Scale Cloud SystemsJunyu Wei, Guangyan Zhang, Yang Wang, Zhiwei Liu 等FAST 2021 · 34 次引用
相关 Paper
- PILAR: Studying and Mitigating the Influence of Configurations on Log ParsingHetong Dai, Yiming Tang, Heng Li, Weiyi ShangICSE 2023 · 8 次引用
- Log Parsing with Generalization Ability under New Log TypesSiyu Yu, Yifan Wu, Zhijing Li, Pinjia He 等FSE 2023 · 14 次引用
- UniParser: A Unified Log Parser for Heterogeneous Log DataYudong Liu, Xu Zhang, Shilin He, Hongyu Zhang 等WWW 2022 · 148 次引用
- Demonstration-Free: Towards More Practical Log Parsing with Large Language ModelsYi Xiao, Van-Hoang Le, Hongyu ZhangASE 2024 · 9 次引用
- EPAS: Efficient Online Log Parsing via Asynchronous Scheduling of LLM QueriesXiaolei Chen, Jia Chen, Jie Shi, Peng Wang 等ICDE 2025 · 3 次引用
