CoChat

An empirical investigation of practical log anomaly detection for online service systems

Zhao, Nengwen, Wang, Honglin, Li, Zeyan, Peng, Xiao, Wang, Gang, Pan, Zhu, Wu, Yong, Feng, Zhen, Wen, Xidao, Zhang, Wenchi, Sui, Kaixin, Pei, Dan · 2021 · Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering

The DOI matches its Crossref record; 37 of the 37 references it cites were found in a registry or an index.

Abstract

Log data is an essential and valuable resource of online service systems, which records detailed information of system running status and user behavior. Log anomaly detection is vital for service reliability engineering, which has been extensively studied. However, we find that existing approaches suffer from several limitations when deploying them into practice, including 1) inability to deal with various logs and complex log abnormal patterns; 2) poor interpretability; 3) lack of domain knowledge. To help understand these practical challenges and investigate the practical performance of existing work quantitatively, we conduct the first empirical study and an experimental study based on large-scale real-world data. We find that logs with rich information indeed exhibit diverse abnormal patterns (e.g., keywords, template count, template sequence, variable value, and variable distribution). However, existing approaches fail to tackle such complex abnormal patterns, producing unsatisfactory performance. Motivated by obtained findings, we propose a generic log anomaly detection system named LogAD based on ensemble learning, which integrates multiple anomaly detection approaches and domain knowledge, so as to handle complex situations in practice. About the effectiveness of LogAD, the average F1-score achieves 0.83, outperforming all baselines. Besides, we also share some success cases and lessons learned during our study. To our best knowledge, we are the first to investigate p…

Overview

Integrity signals

Registry

Crossref · 10.1145/3468264.3473933

Cites

37 of 37 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Verification

Claims the paper makes

This paper’s full text isn’t openly available, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Citations

Cites

Research works printed but not linked: 14

  1. Apache Kafka : A distributed streaming platform.. https://kafka. apache.org [Online ; accessed 04- May - 2021 ]. Apache Kafka: A distributed streaming platform.. https://kafka. apache.org [Online; accessed 04-May-2021].
  2. BGL Dataset. https://www.usenix.org/cfdr-data BGL Dataset. https://www.usenix.org/cfdr-data
  3. Elasticsearch. https://www.elastic.co/elasticsearch/ [Online ; accessed 04- May - 2021 ]. Elasticsearch. https://www.elastic.co/elasticsearch/ [Online; accessed 04-May-2021].
  4. Filebeat. https://www.elastic.co/beats/filebeat [Online ; accessed 04- May - 2021 ]. Filebeat. https://www.elastic.co/beats/filebeat [Online; accessed 04-May-2021].
  5. Flink , Scalable Stream and Batch Data Processing. https://flink.apache.org/ [Online ; accessed 04- May - 2021 ]. Flink, Scalable Stream and Batch Data Processing. https://flink.apache.org/ [Online; accessed 04-May-2021].
  6. Influx DB. https://www.influxdata.com/ [Online ; accessed 04- May - 2021 ]. InfluxDB. https://www.influxdata.com/ [Online; accessed 04-May-2021].
  7. Logstash. https://www.elastic.co/logstash [Online ; accessed 04- May - 2021 ]. Logstash. https://www.elastic.co/logstash [Online; accessed 04-May-2021].
  8. NumPy. https://numpy.org/ [Online ; accessed 04- May - 2020 ]. NumPy. https://numpy.org/ [Online; accessed 04-May-2020].
  9. pandas. https://pandas.pydata.org/ [Online ; accessed 04- May - 2020 ]. pandas. https://pandas.pydata.org/ [Online; accessed 04-May-2020].
  10. PyTorch. https://pytorch.org/ [Online ; accessed 40- May - 2021 ]. PyTorch. https://pytorch.org/ [Online; accessed 40-May-2021].
  11. Redis. https://redis.io/ [Online ; accessed 04- May - 2021 ]. Redis. https://redis.io/ [Online; accessed 04-May-2021].
  12. Rsyslog. https://www.rsyslog.com/ [Online ; accessed 04- May - 2021 ]. Rsyslog. https://www.rsyslog.com/ [Online; accessed 04-May-2021].
  13. syslog-ng. https://www.syslog-ng.com/ [Online ; accessed 04- May - 2021 ]. syslog-ng. https://www.syslog-ng.com/ [Online; accessed 04-May-2021].
  14. Jian-Guang Lou , Qiang Fu , Shengqi Yang , Ye Xu , and Jiang Li . 2010 . Mining Invariants from Console Logs for System Problem Detection .. In USENIX Annual Technical Conference. 1–14 . Jian-Guang Lou, Qiang Fu, Shengqi Yang, Ye Xu, and Jiang Li. 2010. Mining Invariants from Console Logs for System Problem Detection.. In USENIX Annual Technical Conference. 1–14.

Cited by

See all 103

Metadata

Authors
Zhao, N., Wang, H., Li, Z., Peng, X., Wang, G., Pan, Z., Wu, Y., Feng, Z., Wen, X., Zhang, W., Sui, K., & Pei, D.
Affiliations
  • Tsinghua University (CN)
  • BizSeer, China
  • Everbright International (China) (CN)
  • China Everbright Bank, China
Venue
Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering
Publisher
ACM
Published
2021-08-18
Pages
1404-1415
OpenAlex
W3194035167
Cited by
77
References
36
Citations by year
2026: 17 · 2025: 18 · 2024: 18 · 2023: 19 · 2022: 5
FWCI
9.70
Type
conference paper
Language
en
Open access
closed
Locations
ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) (publishedVersion)
Funders
  • National Key Research and Development Program of China (2019YFE0105500)
  • National Natural Science of China (62072264)
Topics
  • Physical Sciences › Computer Science › Computer Networks and Communications › Software System Performance and Reliability
  • Physical Sciences › Computer Science › Artificial Intelligence › Anomaly Detection Techniques and Applications
  • Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
Keywords
log anomaly detection, online service systems, service reliability, ensemble learning, domain knowledge integration, interpretability

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.