An empirical investigation of practical log anomaly detection for online service systems
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
Cites
Statistics
Verification
Claims the paper makes
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?
In the citing paper
“Operational success is inherently multi-objective and should be represented as a vector rather than a single aggregate score [141], [143], [145].”
From Large language models for agentic NetOps and AIOps: Architectures, evaluation, and safety (2027) · cites this paper as [145]
In the citing paper
“Separates safe caution from paralysis [141], [145]”
From Large language models for agentic NetOps and AIOps: Architectures, evaluation, and safety (2027) · cites this paper as [145]
Citations
Cites
DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
Du, M., Li, F., Zheng, G., & Srikumar, V. (2017) · Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/3133956.3134015 · Cited by 1,835
Detecting Spacecraft Anomalies Using LSTMs and Nonparametric Dynamic Thresholding
Hundman, K., Constantinou, V., Laporte, C., Colwell, I., & Soderstrom, T. (2018) · Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining · doi:10.1145/3219819.3219845 · Cited by 1,771 · cited 1×
“Thus we could use the multivariate time series anomaly detection technique (LSTM-based algorithm [32] used in LogAD) and regard all template series as an overall entity, which could not only enhance accuracy and identify potential correlated anomalies but also save computation resources.”
MethodDetecting large-scale system problems by mining console logs
Xu, W., Huang, L., Fox, A., Patterson, D., & Jordan, M. I. (2009) · Proceedings of the ACM SIGOPS 22nd symposium on Operating systems principles · doi:10.1145/1629575.1629587 · Cited by 1,332 · cited 13×
“have provided a detailed experience report [31] about these traditional statistical methods, including PCA [47], LogCluster [35], InvariantMining [37] and some other classification-based supervised methods [22, 34].”
BackgroundMethodInfluentialDrain: an online log parsing approach with fixed depth tree
He, P., Zhu, J., Zheng, Z., & Lyu, M. R. (2017) · 2017 IEEE International Conference on Web Services (ICWS) · doi:10.1109/icws.2017.13 · Cited by 943 · cited 9×
“The implementation of Drain is based on LogParser [9] and the implementation of statistical approaches (PCA, LogCluster, and IM) is based on loglizer [8, 31].”
BackgroundMethodInfluentialRobust log-based anomaly detection on unstable log data
Zhang, X., Xu, Y., Lin, Q., Qiao, B., Zhang, H., Dang, Y., Xie, C., Yang, X., Cheng, Q., Li, Z., et al. (2019) · Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3338906.3338931 · Cited by 761 · cited 4×
“LogRobust [53] adopts an attention-based Bi-LSTM classification model to detect anomalies based on semantic features.”
BackgroundMethodInfluentialSelf-citationLogAnomaly: Unsupervised Detection of Sequential and Quantitative Anomalies in Unstructured Logs
Meng, W., Liu, Y., Zhu, Y., Zhang, S., Pei, D., Liu, Y., Chen, Y., Zhang, R., Tao, S., Sun, P., et al. (2019) · Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2019/658 · Cited by 708 · cited 9×
“To overcome the drawbacks of manual rules, tremendous efforts have been dedicated into automated log anomaly detection [19, 23, 25, 29, 30, 35, 38, 42, 45, 47, 48, 50, 51, 53].”
BackgroundMethodInfluentialSelf-citationWhat Supercomputers Say: A Study of Five System Logs
Oliner, A., & Stearley, J. (2007) · 37th Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN'07) · doi:10.1109/dsn.2007.103 · Cited by 620 · cited 2×
“Log anomaly detection, aiming to identify abnormal system behavior, could assist engineers in identifying incidents promptly and diagnose incidents rapidly [30, 40, 41, 53].”
BackgroundExperience Report: System Log Analysis for Anomaly Detection
He, S., Zhu, J., He, P., & Lyu, M. R. (2016) · 2016 IEEE 27th International Symposium on Software Reliability Engineering (ISSRE) · doi:10.1109/issre.2016.21 · Cited by 593 · cited 9×
“A log message usually contains a timestamp and detailed information indicating what has happened [31].”
BackgroundMethodInfluentialTools and benchmarks for automated log parsing
Zhu, J., He, S., Liu, J., He, P., Xie, Q., Zheng, Z., & Lyu, M. R. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP) · doi:10.1109/icse-seip.2019.00021 · Cited by 574 · cited 5×
“Besides, log messages contain rich information, including timestamps, templates, and variables [25], which can be obtained via log parsing [55].”
BackgroundMethodInfluentialExecution Anomaly Detection in Distributed Systems through Unstructured Log Analysis
Fu, Q., Lou, J.-G., Wang, Y., & Li, J. (2009) · 2009 Ninth IEEE International Conference on Data Mining · doi:10.1109/icdm.2009.60 · Cited by 542 · cited 1×
“Thus log abnormal patterns are also diverse, such as template count [35, 37, 47], template sequence [18, 25, 26, 38, 39, 52], variable value [25] and variable distribution.”
Background
Research works printed but not linked: 14
- 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].
- BGL Dataset. https://www.usenix.org/cfdr-data BGL Dataset. https://www.usenix.org/cfdr-data
- Elasticsearch. https://www.elastic.co/elasticsearch/ [Online ; accessed 04- May - 2021 ]. Elasticsearch. https://www.elastic.co/elasticsearch/ [Online; accessed 04-May-2021].
- Filebeat. https://www.elastic.co/beats/filebeat [Online ; accessed 04- May - 2021 ]. Filebeat. https://www.elastic.co/beats/filebeat [Online; accessed 04-May-2021].
- 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].
- Influx DB. https://www.influxdata.com/ [Online ; accessed 04- May - 2021 ]. InfluxDB. https://www.influxdata.com/ [Online; accessed 04-May-2021].
- Logstash. https://www.elastic.co/logstash [Online ; accessed 04- May - 2021 ]. Logstash. https://www.elastic.co/logstash [Online; accessed 04-May-2021].
- NumPy. https://numpy.org/ [Online ; accessed 04- May - 2020 ]. NumPy. https://numpy.org/ [Online; accessed 04-May-2020].
- pandas. https://pandas.pydata.org/ [Online ; accessed 04- May - 2020 ]. pandas. https://pandas.pydata.org/ [Online; accessed 04-May-2020].
- PyTorch. https://pytorch.org/ [Online ; accessed 40- May - 2021 ]. PyTorch. https://pytorch.org/ [Online; accessed 40-May-2021].
- Redis. https://redis.io/ [Online ; accessed 04- May - 2021 ]. Redis. https://redis.io/ [Online; accessed 04-May-2021].
- Rsyslog. https://www.rsyslog.com/ [Online ; accessed 04- May - 2021 ]. Rsyslog. https://www.rsyslog.com/ [Online; accessed 04-May-2021].
- syslog-ng. https://www.syslog-ng.com/ [Online ; accessed 04- May - 2021 ]. syslog-ng. https://www.syslog-ng.com/ [Online; accessed 04-May-2021].
- 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
Experience Report: Deep Learning-based System Log Analysis for Anomaly Detection
Chen, Z., Liu, J., Gu, W., Su, Y., & Lyu, M. R.-T. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2107.05908 · Cited by 60
“A recent study [46] reveals several limitations that end-to-end solutions suffer from in practice.”
LILAC: Log Parsing using LLMs with Adaptive Parsing Cache
Jiang, Z., Liu, J., Chen, Z., Li, Y., Huang, J., Huo, Y., He, P., Gu, J., & Lyu, M. R. (2024) · Proceedings of the ACM on Software Engineering · doi:10.1145/3643733 · Cited by 123
“As such, log analysis plays an essential role in the maintenance of software systems.”
Deep learning for anomaly detection in log data: A survey
Landauer, M., Onder, S., Skopik, F., & Wurzenberger, M. (2023) · Machine Learning with Applications · doi:10.1016/j.mlwa.2023.100470 · Cited by 202
“Existing surveys only compare few anomaly detection approaches and focus mainly on sequential patterns in log data [9]–[11], present broad studies on system log data analysis that do not sufficiently cover deep learning models and challenges [13], [14], or focus”
BackgroundWahab, N. H. A., Hasikin, K. B., Lai, K. W., Xia, K., Bei, L., Huang, K., & Wu, X. (2024) · PeerJ Computer Science · doi:10.7717/peerj-cs.1943 · Cited by 142
LogFiT: Log Anomaly Detection Using Fine-Tuned Language Models
Almodovar, C., Sabrina, F., Karimi, S., & Azad, S. (2024) · IEEE Transactions on Network and Service Management · doi:10.1109/tnsm.2024.3358730 · Cited by 111
“The log anomaly detection workflow involves four steps as identified in prior studies [5], [33], [34], [35]: pre-processing for data quality, vectorisation for Machine Learning, model development and evaluation, and final operationalisation in production.”
Method
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
- ORCID
- 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.