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
Abstract
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.
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
- On the Feasibility of Parser-based Log Compression in Large-Scale Cloud Systems cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
- LogParser-LLM: Advancing Efficient Log Parsing with Large Language Models cites Guidelines for Assessing the Accuracy of Log Message Template Identification Techniques
- LogParser-LLM: Advancing Efficient Log Parsing with Large Language Models cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
- LogParser-LLM: Advancing Efficient Log Parsing with Large Language Models cites DivLog: Log Parsing with Prompt Enhanced In-Context Learning
- LILAC: Log Parsing using LLMs with Adaptive Parsing Cache cites Guidelines for Assessing the Accuracy of Log Message Template Identification Techniques
- LILAC: Log Parsing using LLMs with Adaptive Parsing Cache cites Hue: A User-Adaptive Parser for Hybrid Logs
- DivLog: Log Parsing with Prompt Enhanced In-Context Learning cites Guidelines for Assessing the Accuracy of Log Message Template Identification Techniques
- DivLog: Log Parsing with Prompt Enhanced In-Context Learning cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
- Hue: A User-Adaptive Parser for Hybrid Logs cites On the Feasibility of Parser-based Log Compression in Large-Scale Cloud Systems
- Hue: A User-Adaptive Parser for Hybrid Logs cites Guidelines for Assessing the Accuracy of Log Message Template Identification Techniques
- Hue: A User-Adaptive Parser for Hybrid Logs cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
- A Large-Scale Evaluation for Log Parsing Techniques: How Far Are We? cites Guidelines for Assessing the Accuracy of Log Message Template Identification Techniques
- A Large-Scale Evaluation for Log Parsing Techniques: How Far Are We? cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
Cited by top-tier papers10
- LILAC: Log Parsing using LLMs with Adaptive Parsing CacheZhihan Jiang, Jinyang Liu, Zhuangbin Chen, Yichen Li et al.FSE 2024 · 85 citations
- DivLog: Log Parsing with Prompt Enhanced In-Context LearningJunjielong Xu, Ruichun Yang, Yintong Huo, Chengyu Zhang et al.ICSE 2024 · 54 citations
- A Large-Scale Evaluation for Log Parsing Techniques: How Far Are We?Zhihan Jiang, Jinyang Liu, Junjie Huang, Yichen Li et al.ISSTA 2024 · 52 citations
- LogParser-LLM: Advancing Efficient Log Parsing with Large Language ModelsAoxiao Zhong, Dengyao Mo, Guiyang Liu, Jinbu Liu et al.KDD 2024 · 41 citations
- Hue: A User-Adaptive Parser for Hybrid LogsJunjielong Xu, Qiuai Fu, Zhouruixing Zhu, Yutong Cheng et al.FSE 2023 · 18 citations
Builds on3
- DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep LearningMin Du, Feifei Li, Guineng Zheng, Vivek SrikumarCCS 2017 · 1,823 citations
- Guidelines for Assessing the Accuracy of Log Message Template Identification TechniquesZanis Ali Khan, Donghwan Shin, Domenico Bianculli, Lionel C. BriandICSE 2022 · 77 citations
- On the Feasibility of Parser-based Log Compression in Large-Scale Cloud SystemsJunyu Wei, Guangyan Zhang, Yang Wang, Zhiwei Liu et al.FAST 2021 · 34 citations
Related papers
- PILAR: Studying and Mitigating the Influence of Configurations on Log ParsingHetong Dai, Yiming Tang, Heng Li, Weiyi ShangICSE 2023 · 8 citations
- Log Parsing with Generalization Ability under New Log TypesSiyu Yu, Yifan Wu, Zhijing Li, Pinjia He et al.FSE 2023 · 14 citations
- UniParser: A Unified Log Parser for Heterogeneous Log DataYudong Liu, Xu Zhang, Shilin He, Hongyu Zhang et al.WWW 2022 · 148 citations
- Demonstration-Free: Towards More Practical Log Parsing with Large Language ModelsYi Xiao, Van-Hoang Le, Hongyu ZhangASE 2024 · 9 citations
- EPAS: Efficient Online Log Parsing via Asynchronous Scheduling of LLM QueriesXiaolei Chen, Jia Chen, Jie Shi, Peng Wang et al.ICDE 2025 · 3 citations
