Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · 2022 · 46 citations · 26 references
ComputingComputer ScienceComputer SystemsData MiningNatural Language ProcessingParallel ComputingLog AnalysisParsingSyntactic AnalysisAccuracyClusteringFine-tuningLog Analysis AutomationLog Data AnalysisLog ParsingUser FeedbackUser Feedback Management
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 30million 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.
26
Min Du, Li Fei-Fei, Guineng Zheng et al. · 2017 · 1.6K citations
Detecting large-scale system problems by mining console logs
Wei Xu, Ling Huang, Armando Fox et al. · 2009 · 1.3K citations
Drain: An Online Log Parsing Approach with Fixed Depth Tree
Pinjia He, Jieming Zhu, Zibin Zheng et al. · 2017 · 813 citations
Robust log-based anomaly detection on unstable log data
Xu Zhang, Yong Xu, Qingwei Lin et al. · 2019 · 674 citations
Experience Report: System Log Analysis for Anomaly Detection
Shilin He, Jieming Zhu, Pinjia He et al. · 2016 · 567 citations