journal article·2023-06-19Open access

ADAL-NN: Anomaly Detection and Localization Using Deep Relational Learning in Distributed Systems

Kashan Ahmed, Ayesha Altaf, Nor Shahida Mohd Jamail, Faiza Iqbal, Rabia Latif

Applied Sciences· Volume 13· Issue 12

Abstract

Modern distributed systems that operate concurrently generate interleaved logs. Identifiers (ID) are always associated with active instances or entities in order to track them in logs. Consequently, log messages with similar IDs can be categorized to aid in the localization and detection of anomalies. Current methods for achieving this are insufficient for overcoming the following obstacles: (1) Log processing is performed in a separate component apart from log mining. (2) In modern software systems, log format evolution is ongoing. It is hard to detect latent technical issues using simple monitoring techniques in a non-intrusive manner. Within the scope of this paper, we present a reliable and consistent method for the detection and localization of anomalies in interleaved unstructured logs in order to address the aforementioned drawbacks. This research examines Log Sequential Anomalies (LSA) for potential performance issues. In this study, IDs are used to group log messages, and ID relation graphs are constructed between distributed components. In addition to that, we offer a data-driven online log parser that does not require any parameters. By utilizing a novel log parser, the bundled log messages undergo a transformation process involving both semantic and temporal embedding. In order to identify instance–granularity anomalies, this study makes use of a heuristic searching technique and an attention-based Bi-LSTM model. The effectiveness, efficiency, and robustness of the paper are supported by the research that was performed on real-world datasets as well as on synthetic datasets. The neural network improves the F1 score by five percent, which is greater than other cutting-edge models.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Software System Performance and Reliability · Software Engineering Research · Software Reliability and Analysis Research

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Computer Science, University of Engineering & Technology (UET), Lahore 54890, Pakistan

Artificial Intelligence and Data Analytics Laboratory, College of Computer and Information Sciences (CCIS), Prince Sultan University, Riyadh 11586, Saudi Arabia

Funding

Artificial Intelligence and Data Analytics Laboratory, College of Computer and Information Sciences, Prince Sultan University, Riyadh, Saudi Arabia · Department of Computer Science, University of Engineering and Technology (UET), Lahore

References (56)

Show source-provided references
1. (2023, January 08). Alibaba Cloud Reports IO Hang Error in North China. Available online: https://equalocean.com/technology/20190303-alibaba-cloud-reports-io-hang-error-in-north-china.
2. Toward fine-grained, unsupervised, scalable performance diagnosis for production cloud computing systems10.1109/TPDS.2013.21 ↗
3. Xu, W., Huang, L., Fox, A., Patterson, D., and Jordan, M.I. (2009, January 11–14). Detecting large-scale system problems by mining console logs. Proceedings of the ACM SIGOPS 22nd Symposium on Operating Systems Principles (SOSP’09), Big Sky, MT, USA.10.1145/1629575.1629587 ↗
4. Lou, J.-G., Fu, Q., Yang, S., Li, J., and Wu, B. (2010, January 25–28). Mining program workflow from interleaved traces. Proceedings of the 16th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (SIGKDD’10), Washington, DC, USA.10.1145/1835804.1835883 ↗
5. Cloudseer: Workflow monitoring of cloud infrastructures via interleaved logs10.1145/2980024.2872407 ↗
6. Du, M., Li, F., Zheng, G., and Srikumar, V. (November, January 30). Deeplog: Anomaly de- tection and diagnosis from system logs through deep learning. Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security (SIGSAC’17), Dallas, TX, USA.10.1145/3133956.3134015 ↗
7. Pi, A., Chen, W., Wang, S., and Zhou, X. (2019, January 22–29). Semantic-aware Workflow Construction and Analysis for Distributed Data Analytics Systems. Proceedings of the 28th International Symposium on High- Performance Parallel and Distributed Computing (HPDC ’19), Phoenix, AZ, USA.10.1145/3307681.3325404 ↗
8. Meng, W., Liu, Y., Zhu, Y., Zhang, S., Pei, D., Liu, Y., Chen, Y., Zhang, R., Tao, S., and Sun, P. (2019, January 10–16). Loganomaly: Unsupervised detection of sequential and quantitative anomalies in unstructured logs. Proceedings of the 28th International Joint Conference on Artificial Intelligence (IJCAI’19), Macao, China.10.24963/ijcai.2019/658 ↗
9. Zhang, X., Xu, Y., Lin, Q., Qiao, B., Zhang, H., Dang, Y., Xie, C., Yang, X., Cheng, Q., and Li, Z. (2019, January 26–30). Robust log-based anomaly detection on unstable log data. Proceedings of the ESEC/FSE’19: 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, Tallinn, Estonia.10.1145/3338906.3338931 ↗
10. Yang, L., Chen, J., Wang, Z., Wang, W., Jiang, J., Dong, X., and Zhang, W. (2021, January 25–28). Plelog: Semi-supervised log-based anomaly detection via probabilistic label estimation. Proceedings of the 2021 IEEE/ACM 43rd International Conference on Software Engineering: Companion Proceedings (ICSE-Companion), Madrid, Spain.10.1109/ICSE-Companion52605.2021.00106 ↗
11. Uilog: Improving log-based fault diagnosis by log analysis10.1007/s11390-016-1678-7 ↗
12. Examining the stability of logging statements10.1007/s10664-017-9518-0 ↗
13. Lou, C., Huang, P., and Smith, S. (2020, January 25–27). Understanding, detecting and localizing partial failures in large system software. Proceedings of the 17th USENIX Symposium on Networked Systems Design and Implementation (NSDI’20), Santa Clara, CA, USA.
14. (2022, September 25). Gocardless Service Outage on October 10th 2017. Available online: https://gocardless.com/blog/incident-review-api-and-dashboard-outage-on-10th-october.
15. (2022, October 08). Office 365 Update on Recent Customer Issues. Available online: https://blogs.office.com/2012/11/13/update-on-recent-customer-issues/.
16. (2022, November 12). Google Compute Engine Incident 17008. Available online: https://status.cloud.google.com/incident/compute/17008.
17. (2022, December 24). Twilio Billing Incident Post-Mortem: Breakdown, Analysis and Root Cause. Available online: https://bit.ly/2V8rurP.
18. Devlin, J., Chang, M.-W., Lee, K., and Toutanova, K. (2018). Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv.
19. Zhao, X., Rodrigues, K., Luo, Y., Yuan, D., and Stumm, M. (2016, January 2–4). Non-Intrusive Performance Profiling for Entire Software Stacks Based on the Flow Reconstruction Principle. Proceedings of the 12th USENIX Symposium on Operating Systems Design and Implementation (OSDI 16), Savannah, GA, USA.
20. Nagappan, M., Wu, K., and Vouk, M.A. (2009, January 16–19). Efficiently extracting operational profiles from execution logs using suffix arrays. Proceedings of the 20th International Symposium on Software Reliability Engineering (ISSRE’09), Mysuru, India.10.1109/ISSRE.2009.23 ↗
21. Li, X., Chen, P., Jing, L., He, Z., and Yu, G. (2020, January 12–15). Swisslog: Robust and unified deep learning based log anomaly detection for diverse faults. Proceedings of the 2020 IEEE 31st International Symposium on Software Reliability Engineering (ISSRE), Coimbra, Portugal.10.1109/ISSRE5003.2020.00018 ↗
22. Fu, Q., Lou, J.-G., Wang, Y., and Li, J. (2009, January 6–9). Execution anomaly detection in distributed systems through unstructured log analysis. Proceedings of the 9th IEEE International Conference on Data Mining (ICDM’09), Miami Beach, FL, USA.10.1109/ICDM.2009.60 ↗
23. Mizutani, M. (July, January 28). Incremental mining of system log format. Proceedings of the 2013 IEEE International Conference on Services Computing (SCC’13), Santa Clara, CA, USA.10.1109/SCC.2013.73 ↗
24. Hamooni, H., Debnath, B., Xu, J., Zhang, H., Jiang, G., and Mueen, A. (2016, January 24–28). Logmine: Fast pattern recognition for log analytics. Proceedings of the 25th ACM International on Conference on Information and Knowledge Management (CIKM’16), Indianapolis, IN, USA.10.1145/2983323.2983358 ↗
25. Incremental learning of system log formats10.1145/1740390.1740410 ↗
26. Shima, K. (2016). Length matters: Clustering system log messages using length of words. arXiv.
27. Vaarandi, R. (2003, January 1–3). A data clustering algorithm for mining patterns from event logs. Proceedings of the 3rd IEEE Workshop on IP Operations & Management (IPOM’03), Kansas City, MO, USA.
28. Nagappan, M., and Vouk, M.A. (2010, January 2–3). Abstracting log lines to log event types for mining software system logs. Proceedings of the 7th IEEE Working Conference on Mining Software Repositories (MSR’10), Cape Town, South Africa.10.1109/MSR.2010.5463281 ↗
29. Vaarandi, R., and Pihelgas, M. (2015, January 9–13). Logcluster-a data clustering and pattern mining algorithm for event logs. Proceedings of the CNSM’15: 11th International Conference on Network and Service Management, Barcelona, Spain.10.1109/CNSM.2015.7367331 ↗
30. He, P., Zhu, J., Zheng, Z., and Lyu, M.R. (2017, January 25–30). Drain: An online log parsing approach with fixed depth tree. Proceedings of the 2017 IEEE International Conference on Web Services (ICWS’17), Honolulu, HI, USA.10.1109/ICWS.2017.13 ↗
31. Du, M., and Li, F. (2016, January 12–15). Spell: Streaming parsing of system event logs. Proceedings of the ICDM’16: 16th International Conference on Data Mining, Barcelona, Spain.10.1109/ICDM.2016.0103 ↗
32. Logram: Efficient log parsing using n-gram dictionaries
33. Meng, W., Liu, Y., Zaiter, F., Zhang, S., Chen, Y., Zhang, Y., Zhu, Y., Wang, E., Zhang, R., and Tao, S. (2020, January 3–6). Logparse: Making log parsing adaptive through word classification. Proceedings of the 2020 29th International Conference on Computer Communications and Networks (ICCCN), Honolulu, HI, USA.10.1109/ICCCN49398.2020.9209681 ↗
34. Nedelkoski, S., Bogatinovski, J., Acker, A., Cardoso, J., and Kao, O. (2020). Self-supervised log parsing. arXiv.10.1007/978-3-030-67667-4_8 ↗
35. Mitigating Service-Oriented Attacks using Context-Based Trust for Smart Cities in IoT Networks10.1016/j.sysarc.2021.102028 ↗
36. Robust, Secure and Adaptive Trust-Based Service Selection in Smart Buildings10.1109/JIOT.2020.3040775 ↗
37. Trust Models of Internet of Smart Things: A Survey, Open Issues and Future Directions10.1016/j.jnca.2019.02.024 ↗
38. Context-Oriented Trust Computational Model for Malicious Node Avoidance using Edge Intelligence in Industrial Internet of Things
39. Altaf, A., Iqbal, F., Latif, R., Yakubu, B.M., Latif, S., and Samiullah, H. (2022). A Survey of Blockchain Technology: Architecture, Applied Domains, Platforms, and Security Threats. Soc. Sci. Comput. Rev., 08944393221110148.10.1177/08944393221110148 ↗
40. Chen, M., Zheng, A.X., Lloyd, J., Jordan, M.I., and Brewer, E. (2004, January 17–19). Failure diagnosis using decision trees. Proceedings of the First International Conference on Autonomic Computing (ICAC’04), New York, NY, USA.
41. Liang, Y., Zhang, Y., Xiong, H., and Sahoo, R. (2007, January 28–31). Failure prediction in ibm bluegene/levent logs. Proceedings of the ICDM’07: 7th IEEE International Conference on Data Mining, Omaha, NH, USA.10.1109/ICDM.2007.46 ↗
42. Farshchi, M., Schneider, J.-G., Weber, I., and Grundy, J. (2015, January 2–5). Experience report: Anomaly detection of cloud application operations using log and cloud metric correlation analysis. Proceedings of the 2015 IEEE 26th International Symposium on Software Reliability Engineering (ISSRE), Gaithersbury, MD, USA.10.1109/ISSRE.2015.7381796 ↗
43. Vinayakumar, R., Soman, K., and Poornachandran, P. (2017, January 13–16). Long short-term memory based operation log anomaly detection. Proceedings of the 2017 International Conference on Advances in Computing, Communications and Informatics (ICACCI’17), Udupi, India.10.1109/ICACCI.2017.8125846 ↗
44. Hu, Z., Chen, P., Yu, G., He, Z., and Li, X. (2022, January 10–16). TS-InvarNet: Anomaly Detection and Localization based on Tempo-spatial KPI Invariants in Distributed Services. Proceedings of the 2022 IEEE International Conference on Web Services (ICWS), Barcelona, Spain.10.1109/ICWS55610.2022.00031 ↗
45. Sadanandan, S.K., Ahmed, A., Pandey, S., and Srivastava, A.K. (2023). Intelligent Data Mining and Analysis in Power and Energy Systems: Models and Applications for Smarter Efficient Power Systems, John Wiley & Sons, Inc.
46. Mäntylä, M., Varela, M., and Hashemi, S. (2022, January 4–13). Pinpointing Anomaly Events in Logs from Stability Testing—N-Grams vs. Deep-Learning. Proceedings of the 2022 IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW), Valencia, Spain.10.1109/ICSTW55395.2022.00056 ↗
47. Nyyssälä, J., Mäntylä, M., and Varela, M. (2022, January 3–7). How to Configure Masked Event Anomaly Detection on Software Logs?. Proceedings of the 2022 IEEE International Conference on Software Maintenance and Evolution (ICSME), Limassol, Cyprus.10.1109/ICSME55016.2022.00050 ↗
48. Leao, B.P., Vempati, J., Muenz, U., Shekhar, S., Pandey, A., Hingos, D., Bhela, S., Wang, J., and Bilby, C. (2022, January 3–5). Machine Learning-based False Data Injection Attack Detection and Localization in Power Grids. Proceedings of the 2022 IEEE Conference on Communications and Network Security (CNS), Austin, TX, USA.10.1109/CNS56114.2022.9947256 ↗
49. PDDL: Proactive Distributed Detection and Localization against Stealthy Deception Attacks in DC Microgrids10.1109/TSG.2022.3188489 ↗
50. Anomaly Detection for Cyber Internet of Things Attacks: A Systematic Review10.1080/08839514.2022.2137639 ↗
51. Anomaly-based intrusion detection system for IoT networks through deep learning model10.1016/j.compeleceng.2022.107810 ↗
52. A Hybrid Deep Learning-Based Unsupervised Anomaly Detection in High Dimensional Data
53. CBiLSTM: A Hybrid Deep Learning Model for Efficient Reputation Assessment of Cloud Services10.1109/ACCESS.2022.3163246 ↗
54. Zhu, J., He, S., Liu, J., He, P., Xie, Q., Zheng, Z., and Lyu, M.R. (2019, January 25–31). Tools and benchmarks for automated log parsing. Proceedings of the ICSE(SEIP)’19: Software Engineering in Practice, Montreal, QC, Canada.10.1109/ICSE-SEIP.2019.00021 ↗
55. He, S., Zhu, J., He, P., and Lyu, M.R. (2020). Loghub: A Large Collection of System Log Datasets towards Automated Log Analytics. arXiv.
56. Oliner, A., and Stearley, J. (2007, January 25–28). What supercomputers say: A study of five system logs. Proceedings of the 37th Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN’07), Edinburgh, UK.10.1109/DSN.2007.103 ↗