Self-Supervised Log Parsing
Not on the map. Why?
Abstract (arXiv)
Logs are extensively used during the development and maintenance of software systems. They collect runtime events and allow tracking of code execution, which enables a variety of critical tasks such as troubleshooting and fault detection. However, large-scale software systems generate massive volumes of semi-structured log records, posing a major challenge for automated analysis. Parsing semi-structured records with free-form text log messages into structured templates is the first and crucial step that enables further analysis. Existing approaches rely on log-specific heuristics or manual rule extraction. These are often specialized in parsing certain log types, and thus, limit performance scores and generalization. We propose a novel parsing technique called NuLog that utilizes a self-supervised learning model and formulates the parsing task as masked language modeling (MLM). In the process of parsing, the model extracts summarizations from the logs in the form of a vector embedding. This allows the coupling of the MLM as pre-training with a downstream anomaly detection task. We evaluate the parsing performance of NuLog on 10 real-world log datasets and compare the results with 12 parsing techniques. The results show that NuLog outperforms existing methods in parsing accuracy with an average of 99% and achieves the lowest edit distance to the ground truth templates. Additionally, two case studies are conducted to demonstrate the ability of the approach for log-based anomaly detection in both supervised and unsupervised scenario. The results show that NuLog can be successfully used to support troubleshooting tasks. The implementation is available at https://github.com/nulog/nulog.
Key facts. Cited by 23 papers in the map (data through 7 Oct 2026). First posted on arXiv 17 Mar 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 6; 2022: 0; 2023: 5; 2024: 6; 2025: 2; 2026: 4.
23 papers.
Sort:
By area:
- 2024LLMParser: An Exploratory Study on Using Large Language Models for Log Parsingcited by 32
- 2023Log Parsing: How Far Can ChatGPT Go?cited by 16
- 2024Lemur: Log Parsing with Entropy Sampling and Chain-of-Thought Mergingcited by 16
- 2023AI for IT Operations (AIOps) on Cloud Platforms: Reviews, Opportunities and Challengescited by 13
- 2021Robust and Transferable Anomaly Detection in Log Data using Pre-Trained Language Modelscited by 12
- 2021A2Log: Attentive Augmented Log Anomaly Detectioncited by 10
- 2021Decentralized Federated Learning Preserves Model and Data Privacycited by 8
- 2021Artificial Intelligence for IT Operations (AIOPS) Workshop White Papercited by 7
- 2024Reducing Events to Augment Log-based Anomaly Detection Models: An Empirical Studycited by 7
- 2021A Taxonomy of Anomalies in Log Datacited by 5
- 2024ECLIPSE: Semantic Entropy-LCS for Cross-Lingual Industrial Log Parsingcited by 5
- 2024A Comparative Study on Large Language Models for Log Parsingcited by 5
11 more
- 2021Multi-Source Anomaly Detection in Distributed IT Systemscited by 4
- 2024LUK: Empowering Log Understanding with Expert Knowledge from Large Language Modelscited by 2
- 2025System Log Parsing with Large Language Models: A Reviewcited by 2
- 2023Interactive Log Parsing via Light-weight User Feedbackcited by 0
- 2023USTEP: Structuration des logs en flux grace `a un arbre de recherche 'evolutifcited by 0
- 2023Progressing from Anomaly Detection to Automated Log Labeling and Pioneering Root Cause Analysiscited by 0
- 2025A Word is Worth 4-bit: Efficient Log Parsing with Binary Coded Decimal Recognitioncited by 0
- 2026On Sequence-to-Sequence Models for Automated Log Parsingcited by 0
- 2026TraXion: Rethinking Pre-training Frameworks for Mobility and Beyondcited by 0
- 2026NLLog: Lightweight, Explainable SOC Anomaly Detection via Log-to-Language Rewritingcited by 0
- 2026SpikeLogBERT: Energy-Efficient Log Parsing Using Spiking Transformer Networkscited by 0
- 2026SpikeLogBERT: Energy-Efficient Log Parsing Using Spiking Transformer Networks30 Jun 2026
- 2026NLLog: Lightweight, Explainable SOC Anomaly Detection via Log-to-Language Rewriting3 Jun 2026
- 2026TraXion: Rethinking Pre-training Frameworks for Mobility and Beyond7 May 2026
- 2026On Sequence-to-Sequence Models for Automated Log Parsing7 Feb 2026
- 2025A Word is Worth 4-bit: Efficient Log Parsing with Binary Coded Decimal Recognition1 Jun 2025
- 2025System Log Parsing with Large Language Models: A Review7 Apr 2025
- 2024Reducing Events to Augment Log-based Anomaly Detection Models: An Empirical Study7 Sep 2024
- 2024A Comparative Study on Large Language Models for Log Parsing4 Sep 2024
- 2024LUK: Empowering Log Understanding with Expert Knowledge from Large Language Models3 Sep 2024
- 2024ECLIPSE: Semantic Entropy-LCS for Cross-Lingual Industrial Log Parsing22 May 2024
- 2024LLMParser: An Exploratory Study on Using Large Language Models for Log Parsing27 Apr 2024
- 2024Lemur: Log Parsing with Entropy Sampling and Chain-of-Thought Merging28 Feb 2024
11 more
- 2023Progressing from Anomaly Detection to Automated Log Labeling and Pioneering Root Cause Analysis22 Dec 2023
- 2023Log Parsing: How Far Can ChatGPT Go?2 Jun 2023
- 2023USTEP: Structuration des logs en flux grace `a un arbre de recherche 'evolutif24 Apr 2023
- 2023AI for IT Operations (AIOps) on Cloud Platforms: Reviews, Opportunities and Challenges10 Apr 2023
- 2023Interactive Log Parsing via Light-weight User Feedback28 Jan 2023
- 2021A Taxonomy of Anomalies in Log Data26 Nov 2021
- 2021A2Log: Attentive Augmented Log Anomaly Detection20 Sep 2021
- 2021Robust and Transferable Anomaly Detection in Log Data using Pre-Trained Language Models23 Feb 2021
- 2021Decentralized Federated Learning Preserves Model and Data Privacy1 Feb 2021
- 2021Artificial Intelligence for IT Operations (AIOPS) Workshop White Paper15 Jan 2021
- 2021Multi-Source Anomaly Detection in Distributed IT Systems13 Jan 2021
- 2026On Sequence-to-Sequence Models for Automated Log Parsingcited by 0
- 2026On Sequence-to-Sequence Models for Automated Log Parsing7 Feb 2026
- 2024LLMParser: An Exploratory Study on Using Large Language Models for Log Parsingcited by 32
- 2023Log Parsing: How Far Can ChatGPT Go?cited by 16
- 2023AI for IT Operations (AIOps) on Cloud Platforms: Reviews, Opportunities and Challengescited by 13
- 2021Robust and Transferable Anomaly Detection in Log Data using Pre-Trained Language Modelscited by 12
- 2021A2Log: Attentive Augmented Log Anomaly Detectioncited by 10
- 2021Decentralized Federated Learning Preserves Model and Data Privacycited by 8
- 2021Artificial Intelligence for IT Operations (AIOPS) Workshop White Papercited by 7
- 2024Reducing Events to Augment Log-based Anomaly Detection Models: An Empirical Studycited by 7
- 2021A Taxonomy of Anomalies in Log Datacited by 5
- 2024ECLIPSE: Semantic Entropy-LCS for Cross-Lingual Industrial Log Parsingcited by 5
- 2024A Comparative Study on Large Language Models for Log Parsingcited by 5
- 2021Multi-Source Anomaly Detection in Distributed IT Systemscited by 4
12 most cited of 20 All 20 (JSON)
- 2026SpikeLogBERT: Energy-Efficient Log Parsing Using Spiking Transformer Networks30 Jun 2026
- 2026NLLog: Lightweight, Explainable SOC Anomaly Detection via Log-to-Language Rewriting3 Jun 2026
- 2025A Word is Worth 4-bit: Efficient Log Parsing with Binary Coded Decimal Recognition1 Jun 2025
- 2025System Log Parsing with Large Language Models: A Review7 Apr 2025
- 2024Reducing Events to Augment Log-based Anomaly Detection Models: An Empirical Study7 Sep 2024
- 2024A Comparative Study on Large Language Models for Log Parsing4 Sep 2024
- 2024LUK: Empowering Log Understanding with Expert Knowledge from Large Language Models3 Sep 2024
- 2024ECLIPSE: Semantic Entropy-LCS for Cross-Lingual Industrial Log Parsing22 May 2024
- 2024LLMParser: An Exploratory Study on Using Large Language Models for Log Parsing27 Apr 2024
- 2023Progressing from Anomaly Detection to Automated Log Labeling and Pioneering Root Cause Analysis22 Dec 2023
- 2023Log Parsing: How Far Can ChatGPT Go?2 Jun 2023
- 2023USTEP: Structuration des logs en flux grace `a un arbre de recherche 'evolutif24 Apr 2023
12 newest of 20 All 20 (JSON)