A Directed Acyclic Graph Approach to Online Log Parsing
Pinjia He, Jieming Zhu, Pengcheng Xu, Zibin Zheng, Michael R. Lyu

TL;DR
This paper introduces Drain, an online log parsing method based on directed acyclic graphs, capable of real-time processing, high accuracy, and adaptable to various system logs without parameter tuning.
Contribution
Drain is the first online log parser that automatically generates and updates a directed acyclic graph for streaming logs, outperforming existing methods in accuracy and speed.
Findings
Drain achieves the highest accuracy on 11 real-world datasets.
Drain improves runtime efficiency by 37.15% to 97.14% over state-of-the-art parsers.
Case study confirms Drain's effectiveness in system reliability management.
Abstract
Logs are widely used in modern software system management because they are often the only data accessible that record system events at runtime. In recent years, because of the ever-increasing log size, data mining techniques are often utilized to help developers and operators conduct system reliability management. A typical log-based system reliability management procedure is to first parse log messages because of their unstructured format; and apply data mining techniques on the parsed logs to obtain critical system behavior information. Most of existing research studies focus on offline log parsing, which need to parse logs in batch mode. However, software systems, especially distributed systems, require online monitoring and maintenance. Thus, a log parser that can parse log messages in a streaming manner is highly in demand. To address this problem, we propose an online log parsing…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware System Performance and Reliability · Software Reliability and Analysis Research · Software Testing and Debugging Techniques
