IEEE Transactions on Services Computing · 2023 · 87 citations · 27 references
ComputingComputer EngineeringComputer ScienceComputational LinguisticsMachine LearningNatural Language ProcessingLog AnalysisParallel Tree AlgorithmsParsingPattern RecognitionSyntactic AnalysisSyntactic ParsingAutomated Log AnalysisBenchmark DatasetsFailure DiagnosisLog ParsingNeural ParsingParse TreesParsing Accuracy MetricsParsing Algorithms
Automated log analysis can facilitate failure diagnosis for developers and operators using a large volume of logs. Log parsing is a prerequisite step for automated log analysis, which parses semi-structured logs into structured logs. However, existing parsers are difficult to apply to software-intensive systems, due to their unstable parsing accuracy on various software. Although neural network-based approaches are stable, their inefficiency makes it challenging to keep up with the speed of log production. In this work, we found that the longest common pattern among logs is likely to be part of the log template. Inspired by this key insight, we propose a new stable log parsing approach, called Brain, which creates initial groups according to the longest common pattern. Then a bidirectional tree is used to hierarchically complement the constant words to the longest common pattern to form the complete log template efficiently. Experimental results on 16 benchmark datasets show that our approach outperforms the state-of-the-art parsers on two widely-used parsing accuracy metrics, and it only takes around 46 seconds to process one million lines of logs.
27
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
Execution Anomaly Detection in Distributed Systems through Unstructured Log Analysis
Qiang Fu, Jian–Guang Lou, Yi Wang et al. · 2009 · 557 citations