Logram: Efficient Log Parsing Using n-Gram Dictionaries
Not on the map. Why?
Abstract (arXiv)
Software systems usually record important runtime information in their logs. Logs help practitioners understand system runtime behaviors and diagnose field failures. As logs are usually very large in size, automated log analysis is needed to assist practitioners in their software operation and maintenance efforts. Typically, the first step of automated log analysis is log parsing, i.e., converting unstructured raw logs into structured data. However, log parsing is challenging, because logs are produced by static templates in the source code (i.e., logging statements) yet the templates are usually inaccessible when parsing logs. Prior work proposed automated log parsing approaches that have achieved high accuracy. However, as the volume of logs grows rapidly in the era of cloud computing, efficiency becomes a major concern in log parsing. In this work, we propose an automated log parsing approach, Logram, which leverages n-gram dictionaries to achieve efficient log parsing. We evaluated Logram on 16 public log datasets and compared Logram with five state-of-the-art log parsing approaches. We found that Logram achieves a similar parsing accuracy to the best existing approaches while outperforms these approaches in efficiency (i.e., 1.8 to 5.1 times faster than the second fastest approaches). Furthermore, we deployed Logram on Spark and we found that Logram scales out efficiently with the number of Spark nodes (e.g., with near-linear scalability) without sacrificing parsing accuracy. In addition, we demonstrated that Logram can support effective online parsing of logs, achieving similar parsing results and efficiency with the offline mode.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). First posted on arXiv 7 Jan 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 5; 2022: 2; 2023: 2.
9 papers.
- 2021Log-based Anomaly Detection Without Log Parsingcited by 59
- 2022Log-based Anomaly Detection with Deep Learning: How Far Are We?cited by 56
- 2021Experience Report: Deep Learning-based System Log Analysis for Anomaly Detectioncited by 37
- 2022LogGD:Detecting Anomalies from System Logs by Graph Neural Networkscited by 8
- 2021A Comprehensive Survey of Logging in Software: From Logging Statements Automation to Log Mining and Analysiscited by 6
- 2023MoniLog: An Automated Log-Based Anomaly Detection System for Cloud Computing Infrastructurescited by 2
- 2021DeLag: Using Multi-Objective Optimization to Enhance the Detection of Latency Degradation Patterns in Service-based Systemscited by 1
- 2021Topic Modeling, Clade-assisted Sentiment Analysis, and Vaccine Brand Reputation Analysis of COVID-19 Vaccine-related Facebook Comments in the Philippinescited by 0
- 2023Interactive Log Parsing via Light-weight User Feedbackcited by 0
- 2023MoniLog: An Automated Log-Based Anomaly Detection System for Cloud Computing Infrastructures24 Apr 2023
- 2023Interactive Log Parsing via Light-weight User Feedback28 Jan 2023
- 2022LogGD:Detecting Anomalies from System Logs by Graph Neural Networks16 Sep 2022
- 2022Log-based Anomaly Detection with Deep Learning: How Far Are We?9 Feb 2022
- 2021A Comprehensive Survey of Logging in Software: From Logging Statements Automation to Log Mining and Analysis24 Oct 2021
- 2021DeLag: Using Multi-Objective Optimization to Enhance the Detection of Latency Degradation Patterns in Service-based Systems21 Oct 2021
- 2021Topic Modeling, Clade-assisted Sentiment Analysis, and Vaccine Brand Reputation Analysis of COVID-19 Vaccine-related Facebook Comments in the Philippines11 Oct 2021
- 2021Log-based Anomaly Detection Without Log Parsing4 Aug 2021
- 2021Experience Report: Deep Learning-based System Log Analysis for Anomaly Detection13 Jul 2021