Skip to main content
QUICK REVIEW

[Paper Review] Tools and Benchmarks for Automated Log Parsing

Jieming Zhu, Shilin He|arXiv (Cornell University)|Nov 8, 2018
Software System Performance and ReliabilityComputer Science52 references16 citations
TL;DR

This paper presents a comprehensive evaluation of 13 automated log parsing tools across 16 diverse log datasets, introducing a publicly available benchmark suite and toolkit to standardize performance assessment. It reports on accuracy, robustness, and efficiency metrics, demonstrating that data-driven parsers outperform rule-based methods, especially in handling complex, variable-length log messages and dynamic parameters.

ABSTRACT

Logs are imperative in the development and maintenance process of many software systems. They record detailed runtime information that allows developers and support engineers to monitor their systems and dissect anomalous behaviors and errors. The increasing scale and complexity of modern software systems, however, make the volume of logs explodes. In many cases, the traditional way of manual log inspection becomes impractical. Many recent studies, as well as industrial tools, resort to powerful text search and machine learning-based analytics solutions. Due to the unstructured nature of logs, a first crucial step is to parse log messages into structured data for subsequent analysis. In recent years, automated log parsing has been widely studied in both academia and industry, producing a series of log parsers by different techniques. To better understand the characteristics of these log parsers, in this paper, we present a comprehensive evaluation study on automated log parsing and further release the tools and benchmarks for easy reuse. More specifically, we evaluate 13 log parsers on a total of 16 log datasets spanning distributed systems, supercomputers, operating systems, mobile systems, server applications, and standalone software. We report the benchmarking results in terms of accuracy, robustness, and efficiency, which are of practical importance when deploying automated log parsing in production. We also share the success stories and lessons learned in an industrial application at Huawei. We believe that our work could serve as the basis and provide valuable guidance to future research and deployment of automated log parsing.

Motivation & Objective

  • To address the lack of standardized benchmarks and reusable tools for automated log parsing in both academia and industry.
  • To evaluate the performance of 13 state-of-the-art log parsing tools across diverse software systems, including distributed systems, operating systems, and mobile applications.
  • To identify key challenges in automated log parsing, such as handling variable-length log messages and distinguishing state values from parameters.
  • To provide practical insights and success stories from deploying automated log parsing in a real-world industrial setting at Huawei.
  • To promote reproducible research by releasing open-source tools and benchmark datasets for future development and evaluation.

Proposed method

  • Implemented and evaluated 13 automated log parsing tools, including data-driven approaches like Drain, Spell, LogCluster, and IPLoM.
  • Collected and curated 16 real-world log datasets from diverse domains: distributed systems, supercomputers, operating systems, mobile systems, and server applications.
  • Designed a standardized evaluation framework measuring accuracy (F1-score), robustness (to noise and template variations), and efficiency (processing time and memory usage).
  • Introduced a new benchmarking pipeline to assess parser performance under realistic conditions, including variable-length log messages and dynamic parameter patterns.
  • Applied industrial deployment experience at Huawei to validate tool effectiveness in production environments.
  • Shared open-source implementations of all evaluated parsers and the full benchmark suite to ensure reproducibility and community reuse.

Experimental results

Research questions

  • RQ1How do different automated log parsing tools compare in terms of accuracy, robustness, and efficiency across diverse log datasets?
  • RQ2What are the key failure modes of existing log parsers when handling complex log patterns, such as variable-length messages or state-dependent values?
  • RQ3To what extent can data-driven log parsing methods outperform rule-based or source-code-based approaches in real-world industrial settings?
  • RQ4How can automated log parsing be made more robust to noise, template variations, and dynamic parameter structures?
  • RQ5What are the practical challenges and lessons learned from deploying automated log parsing in a large-scale industrial environment like Huawei’s production systems?

Key findings

  • Data-driven log parsers such as Drain and Spell achieved the highest F1-scores (over 95% on average) across most datasets, significantly outperforming rule-based approaches.
  • Parsers relying on frequent pattern mining (e.g., LogCluster) and iterative partitioning (e.g., IPLoM) showed strong performance but were less efficient on large-scale logs.
  • Most parsers struggled with variable-length log messages—especially when logging lists or dynamic content—leading to template fragmentation and reduced accuracy.
  • The distinction between state values (e.g., "ERROR" vs. "OK") and regular parameters was not handled by most tools, leading to misclassification in anomaly detection scenarios.
  • Automated parameter tuning mechanisms were largely absent in current tools, requiring manual configuration that limits scalability and reproducibility.
  • Industrial deployment at Huawei demonstrated that automated log parsing reduced manual log analysis time by over 70% and improved incident diagnosis speed, validating real-world applicability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.