Skip to main content
QUICK REVIEW

[Paper Review] Loghub: A Large Collection of System Log Datasets for AI-driven Log Analytics

Jieming Zhu, Shilin He|arXiv (Cornell University)|Aug 14, 2020
Software System Performance and ReliabilityComputer Science51 references46 citations
TL;DR

Loghub releases 19 real-world system log datasets (about 77 GB) to enable AI-driven log analytics benchmarking and provides initial benchmarks for log parsing, compression, and anomaly detection.

ABSTRACT

Logs have been widely adopted in software system development and maintenance because of the rich runtime information they record. In recent years, the increase of software size and complexity leads to the rapid growth of the volume of logs. To handle these large volumes of logs efficiently and effectively, a line of research focuses on developing intelligent and automated log analysis techniques. However, only a few of these techniques have reached successful deployments in industry due to the lack of public log datasets and open benchmarking upon them. To fill this significant gap and facilitate more research on AI-driven log analytics, we have collected and released loghub, a large collection of system log datasets. In particular, loghub provides 19 real-world log datasets collected from a wide range of software systems, including distributed systems, supercomputers, operating systems, mobile systems, server applications, and standalone software. In this paper, we summarize the statistics of these datasets, introduce some practical usage scenarios of the loghub datasets, and present our benchmarking results on loghub to benefit the researchers and practitioners in this field. Up to the time of this paper writing, the loghub datasets have been downloaded for roughly 90,000 times in total by hundreds of organizations from both industry and academia. The loghub datasets are available at https://github.com/logpai/loghub.

Motivation & Objective

  • Collect and organize a large, diverse set of real-world system log datasets for AI-driven analytics.
  • Provide labeled and unlabeled datasets to support anomaly detection, parsing, and other log-analytic tasks.
  • Describe practical usage scenarios and establish benchmarks to bridge research and industry.
  • Release the datasets publicly to enable reproducible research and industry adoption.

Proposed method

  • Assembles 19 log datasets from distributed systems, supercomputers, operating systems, mobile systems, server applications, and standalone software, totaling ~77 GB.
  • Characterizes each dataset (time span, line count, size, labels) and categorizes as labeled or unlabeled.
  • Discusses practical usage scenarios (e.g., anomaly detection, log parsing, log compression, duplicate issues) and how logs can be used for each task.
  • Provides baseline benchmarking on representative tasks (log parsing, compression, anomaly detection) using standard metrics, and analyzes remaining challenges.
  • Datasets are released on GitHub to enable community access and reproducibility.
  • Uses a parsing-accuracy PA metric defined as PA = (# correctly parsed logs) / (total logs) to evaluate log parsers.

Experimental results

Research questions

  • RQ1How generalizable are existing log parsing methods across diverse log sources and structures?
  • RQ2What is the effectiveness of log-specific compression tools compared to general-purpose compressors on real-world logs?
  • RQ3How do log-based anomaly detection methods perform on a large, heterogeneous set of real-world logs?
  • RQ4What practical challenges remain for AI-driven log analytics when scaling to diverse systems and workloads?
  • RQ5Can loghub serve as a comprehensive benchmark to drive progress from research to industry adoption?

Key findings

  • At least one parser achieves over 90% parsing accuracy on most datasets, with some datasets reaching perfect accuracy due to simpler event templates.
  • Drain provides the highest average parsing accuracy across datasets among evaluated parsers.
  • Log-specific compression (e.g., Logzip with various kernels) outperforms general compressors on all tested datasets, with an average gain of 4.56x over gzip and up to 15.1x for some cases.
  • Six datasets are labeled (supporting anomaly detection and duplicate issue research), while 13 are unlabeled, enabling a range of tasks from supervised to unsupervised analysis.
  • Benchmarking on anomaly detection shows supervised approaches (e.g., Decision Tree, SVM) achieving high recall/precision due to labeled data, with unsupervised methods providing competitive results in absence of labels.
  • The datasets have seen broad uptake (over 90,000 downloads by 450+ organizations from industry and academia) and are increasingly used for education and research.

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.