Demystifying and Extracting Fault-indicating Information from Logs for Failure Diagnosis
Not on the map. Why?
Abstract (arXiv)
Logs are imperative in the maintenance of online service systems, which often encompass important information for effective failure mitigation. While existing anomaly detection methodologies facilitate the identification of anomalous logs within extensive runtime data, manual investigation of log messages by engineers remains essential to comprehend faults, which is labor-intensive and error-prone. Upon examining the log-based troubleshooting practices at CloudA, we find that engineers typically prioritize two categories of log information for diagnosis. These include fault-indicating descriptions, which record abnormal system events, and fault-indicating parameters, which specify the associated entities. Motivated by this finding, we propose an approach to automatically extract such faultindicating information from logs for fault diagnosis, named LoFI. LoFI comprises two key stages. In the first stage, LoFI performs coarse-grained filtering to collect logs related to the faults based on semantic similarity. In the second stage, LoFI leverages a pre-trained language model with a novel prompt-based tuning method to extract fine-grained information of interest from the collected logs. We evaluate LoFI on logs collected from Apache Spark and an industrial dataset from CloudA. The experimental results demonstrate that LoFI outperforms all baseline methods by a significant margin, achieving an absolute improvement of 25.8~37.9 in F1 over the best baseline method, ChatGPT. This highlights the effectiveness of LoFI in recognizing fault-indicating information. Furthermore, the successful deployment of LoFI at CloudA and user studies validate the utility of our method. The code and data are available at https://github.com/Jun-jie-Huang/LoFI.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 35 of its 86 references that are in the map. First posted on arXiv 20 Sep 2024.
Builds on
35 of 86 references.
References · 35
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
- 2021Log-based Anomaly Detection Without Log Parsingcited by 59
- 2018Tools and Benchmarks for Automated Log Parsingcited by 56
23 more
- 2022Log-based Anomaly Detection with Deep Learning: How Far Are We?cited by 56
- 2020A Survey on Automated Log Analysis for Reliability Engineeringcited by 50
- 2021Experience Report: Deep Learning-based System Log Analysis for Anomaly Detectioncited by 37
- 2019Span Selection Pre-training for Question Answeringcited by 36
- 2020Self-Attentive Classification-Based Anomaly Detection in Unstructured Logscited by 36
- 2023LILAC: Log Parsing using LLMs with Adaptive Parsing Cachecited by 30
- 2023Log Parsing with Prompt-based Few-shot Learningcited by 28
- 2022UniParser: A Unified Log Parser for Heterogeneous Log Datacited by 25
- 2023A Large-Scale Evaluation for Log Parsing Techniques: How Far Are We?cited by 25
- 2023Did We Miss Something Important? Studying and Exploring Variable-Aware Log Abstractioncited by 19
- 2021SemParser: A Semantic Parser for Log Analysiscited by 15
- 2021Robust and Transferable Anomaly Detection in Log Data using Pre-Trained Language Modelscited by 12
- 2022System Log Parsing: A Surveycited by 10
- 2023Exploring the Effectiveness of LLMs in Automated Logging Generation: An Empirical Studycited by 9
- 2021Automatically Matching Bug Reports With Related App Reviewscited by 8
- 2023Heterogeneous Anomaly Detection for Software Systems via Semi-supervised Cross-modal Attentioncited by 8
- 2024Go Static: Contextualized Logging Statement Generationcited by 8
- 2022LogStamp: Automatic Online Log Parsing Based on Sequence Labellingcited by 6
- 2021AID: Efficient Prediction of Aggregated Intensity of Dependency in Large-scale Cloud Systemscited by 4
- 2024Knowledge-aware Alert Aggregation in Large-scale Cloud Systems: a Hybrid Approachcited by 4
- 2022Characterizing and Mitigating Anti-patterns of Alerts in Industrial Cloud Systemscited by 2
- 2024FaultProfIT: Hierarchical Fault Profiling of Incident Tickets in Large-scale Cloud Systemscited by 2
- 2024TraceMesh: Scalable and Streaming Sampling for Distributed Tracescited by 1
Built on by
Citing papers per year: 2025: 4; 2026: 2.
6 papers.
- 2025A Survey of AIOps in the Era of Large Language Modelscited by 18
- 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
- 2025Task-Aware Reduction for Scalable LLM-Database Systemscited by 1
- 2026LogSieve: Task-Aware CI Log Reduction for Sustainable LLM-Based Analysiscited by 1
- 2025Beyond Window-Based Detection: A Graph-Centric Framework for Discrete Log Anomaly Detectioncited by 0
- 2026MicLog: Towards Accurate and Efficient LLM-based Log Parsing via Progressive Meta In-Context Learningcited by 0
- 2026LogSieve: Task-Aware CI Log Reduction for Sustainable LLM-Based Analysis28 Jan 2026
- 2026MicLog: Towards Accurate and Efficient LLM-based Log Parsing via Progressive Meta In-Context Learning11 Jan 2026
- 2025Task-Aware Reduction for Scalable LLM-Database Systems13 Oct 2025
- 2025Large Language Models for Security Operations Centers: A Comprehensive Survey13 Sep 2025
- 2025A Survey of AIOps in the Era of Large Language Models23 Jun 2025
- 2025Beyond Window-Based Detection: A Graph-Centric Framework for Discrete Log Anomaly Detection21 Jan 2025