TY - EJOU AU - Duan, Xiaoyu AU - Ying, Shi AU - Yuan, Wanli AU - Cheng, Hailong AU - Yin, Xiang TI - A Generative Adversarial Networks for Log Anomaly Detection T2 - Computer Systems Science and Engineering PY - 2021 VL - 37 IS - 1 SN - AB - Detecting anomaly logs is a great significance step for guarding system faults. Due to the uncertainty of abnormal log types, lack of real anomaly logs and accurately labeled log datasets. Existing technologies cannot be enough for detecting complex and various log point anomalies by using human-defined rules. We propose a log anomaly detection method based on Generative Adversarial Networks (GAN). This method uses the Encoder-Decoder framework based on Long Short-Term Memory (LSTM) network as the generator, takes the log keywords as the input of the encoder, and the decoder outputs the generated log template. The discriminator uses the Convolutional Neural Networks (CNN) to identify the difference between the generated log template and the real log template. The model parameters are optimized automatically by iteration. In the stage of anomaly detection, the probability of anomaly is calculated by the Euclidean distance. Experiments on real data show that this method can detect log point anomalies with an average precision of 95%. Besides, it outperforms other existing log-based anomaly detection methods. KW - Generative adversarial networks; anomaly detection; data mining; deep learning DO - 10.32604/csse.2021.014030