Distributed System Log Anomaly Detection Method Based on LSTM Networks and Process State Inspection
Authors:
- 23 April 2025
- journal article
- Published by Wiley in Quality and Reliability Engineering International
- Vol. 41 (6) , 2557-2566
Abstract
Runtime anomaly detection in software plays a critically important role in the management of many large‐scale distributed software systems. Among numerous anomaly detection algorithms, log‐based detection methods are very popular and efficient. Log systems, existing in virtually all software, including large‐scale distributed systems, typically record extensive details about system operations, user activities, and software exceptions. These logs serve as a vital channel for researchers to understand system status and performance and to analyze anomalies. However, traditional anomaly detection approaches, which rely on manual log queries by researchers, are time‐consuming and inefficient. Moreover, as the scale and complexity of distributed systems increase, the exponential growth in the volume of logs renders these methods impractical. We propose an anomaly detection algorithm based on deep neural network models that utilize system logs and incorporate process state checks to detect anomalies, proving particularly effective in simulating distributed denial of service (DDoS) attacks. The model employs long short‐term memory (LSTM) networks to model the encoded event templates as natural language sequences, automatically learning log patterns during normal execution. Furthermore, we model the performance of core components in distributed systems (e.g., Hadoop HDFS DataNode) to explore their state space. Compared with two mainstream log‐based anomaly detection algorithms, our model achieves optimal performance on datasets simulating DDoS anomalies.Keywords
This publication has 21 references indexed in Scilit:
- Early System Failure Detection through System Log Analysis: An LSTM Approach2024
- Cloud Infrastructure Fault Monitoring and Prediction System using LSTM based predictive maintenance2022
- A LSTM-Based Anomaly Detection Model for Log AnalysisJournal of Signal Processing Systems, 2021
- ATOM: Efficient Tracking, Monitoring, and Orchestration of Cloud ResourcesIEEE Transactions on Parallel and Distributed Systems, 2017
- Augmented LSTM Framework to Construct Medical Self-Diagnosis Android2016
- An Evaluation Study on Log Parsing and Its Use in Log Mining2016
- Experience Report: System Log Analysis for Anomaly Detection2016
- Event Logs for the Analysis of Software Failures: A Rule-Based ApproachIEEE Transactions on Software Engineering, 2012
- Detecting large-scale system problems by mining console logs2009
- Clustering event logs using iterative partitioning2009