Lune

ASE2023Top-tier venue

AutoLog: A Log Sequence Synthesis Framework for Anomaly Detection

Yintong Huo, Yichen Li, Yuxin Su, Pinjia He, Zifan Xie, Michael R. Lyu

Abstract

The rapid progress of modern computing systems has led to a growing interest in informative run-time logs. Various log-based anomaly detection techniques have been proposed to ensure software reliability. However, their implementation in the industry has been limited due to the lack of high-quality public log resources as training datasets. While some log datasets are available for anomaly detection, they suffer from limitations in (1) comprehensiveness of log events; (2) scalability over diverse systems; and (3) flexibility of log utility. To address these limitations, we propose AUTOLOG, the first automated log generation methodology for anomaly detection. AUTOLOG uses program analysis to generate runtime log sequences without actually running the system. AU-TOLOG starts with probing comprehensive logging statements associated with the call graphs of an application. Then, it constructs execution graphs for each method after pruning the call graphs to find log-related execution paths in a scalable manner. Finally, AUTOLOG propagates the anomaly label to each acquired execution path based on human knowledge. It generates flexible log sequences by walking along the log execution paths with controllable parameters. Experiments on 50 popular Java projects show that AUTOLOG acquires significantly more (9x-58x) log events than existing log datasets from the same system, and generates log messages much faster (15x) with a single machine than existing passive data collection approaches. AUTOLOG also provides hyper-parameters to adjust the data size, anomaly rate, and component indicator for simulating different real-world scenarios. We further demonstrate AUTOLOG's practicality by showing that AUTOLOG enables log-based anomaly detectors to achieve better performance (1.93%) compared to existing log datasets. We hope AUTOLOG can facilitate the benchmarking and adoption of automated log analysis techniques.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • COCA: Generative Root Cause Analysis for Distributed Systems with Code Knowledge cites Go Static: Contextualized Logging Statement Generation
  • COCA: Generative Root Cause Analysis for Distributed Systems with Code Knowledge cites Face It Yourselves: An LLM-Based Two-Stage Strategy to Localize Configuration Errors via Logs
  • Log-based Anomaly Detection with Deep Learning: How Far Are We? cites Log-based Anomaly Detection Without Log Parsing
  • Using Deep Learning to Generate Complete Log Statements cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • Log-based Anomaly Detection Without Log Parsing cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • Defects4Log: Benchmarking LLMs for Logging Code Defect Detection and Reasoning cites Go Static: Contextualized Logging Statement Generation
  • Go Static: Contextualized Logging Statement Generation cites Using Deep Learning to Generate Complete Log Statements
  • Go Static: Contextualized Logging Statement Generation cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • Multivariate Log-based Anomaly Detection for Distributed Database cites Log-based Anomaly Detection with Deep Learning: How Far Are We?
  • Multivariate Log-based Anomaly Detection for Distributed Database cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • Face It Yourselves: An LLM-Based Two-Stage Strategy to Localize Configuration Errors via Logs cites Log-based Anomaly Detection Without Log Parsing
  • Face It Yourselves: An LLM-Based Two-Stage Strategy to Localize Configuration Errors via Logs cites Go Static: Contextualized Logging Statement Generation
  • Face It Yourselves: An LLM-Based Two-Stage Strategy to Localize Configuration Errors via Logs cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Face It Yourselves: An LLM-Based Two-Stage Strategy to Localize Configuration Errors via LogsShiwen Shan, Yintong Huo, Yuxin Su, Yichen Li et al.ISSTA 2024 · 18 citations
  2. Go Static: Contextualized Logging Statement GenerationYichen Li, Yintong Huo, Renyi Zhong, Zhihan Jiang et al.FSE 2024 · 17 citations
  3. Multivariate Log-based Anomaly Detection for Distributed DatabaseLingzhe Zhang, Tong Jia, Mengxi Jia, Ying Li et al.KDD 2024 · 13 citations
  4. COCA: Generative Root Cause Analysis for Distributed Systems with Code KnowledgeYichen Li, Yulun Wu, Jinyang Liu, Zhihan Jiang et al.ICSE 2025 · 6 citations
  5. Defects4Log: Benchmarking LLMs for Logging Code Defect Detection and ReasoningXin Wang, Zhenhao Li, Zishuo DingASE 2025 · 1 citation

Builds on9

  1. DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep LearningMin Du, Feifei Li, Guineng Zheng, Vivek SrikumarCCS 2017 · 1,823 citations
  2. Log-based Anomaly Detection Without Log ParsingVan-Hoang Le, Hongyu ZhangASE 2021 · 249 citations
  3. Log-based Anomaly Detection with Deep Learning: How Far Are We?Van-Hoang Le, Hongyu ZhangICSE 2022 · 212 citations
  4. Groot: An Event-graph-based Approach for Root Cause Analysis in Industrial SettingsHanzhang Wang, Zhengkai Wu, Huai Jiang, Yichao Huang et al.ASE 2021 · 73 citations
  5. Using Deep Learning to Generate Complete Log StatementsAntonio Mastropaolo, Luca Pascarella, Gabriele BavotaICSE 2022 · 60 citations

Related papers

  1. State Machine Guided Multi-Relational Synthetic Data from Logs for Anomaly DetectionAja Khanal, Apurva NarayanKDD 2026
  2. PreLog: A Pre-trained Model for Log AnalyticsVan-Hoang Le, Hongyu ZhangSIGMOD 2024 · 30 citations
  3. AutoLabel: Automated Fine-Grained Log Labeling for Cyber Attack Dataset GenerationYihao Peng, Tongxin Zhang, Jieshao Lai, Yuxuan Zhang et al.USENIX Security 2025
  4. LogAction: Consistent Cross-system Anomaly Detection through Logs via Active Domain AdaptationChiming Duan, Minghua He, Pei Xiao, Tong Jia et al.ASE 2025 · 6 citations
  5. Unseen Anomaly Detection from System LogsYanni Tang, Zhuoxing Zhang, Lanting Fang, Sebastian Link et al.SIGMOD 2026 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines