arrow
Return

A graph-based file-level anomaly detection framework for system logs

delete2026-06-13
delete0
PRE
AI
Y
Yanni Tang
W
Wenjing Xiong
Z
Zhuoxing Zhang
K
Kaiqi Zhao
J
Jiamou Liu
K
Kui Liu
W
Wu Chen *
DOI:10.1016/j.engappai.2026.115345delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
System logs are crucial for monitoring system status and detecting anomalies. In the literature, logs have been pre-processed to extract event sequences that are further fed into the dedicated neural network-based models to detect anomalies, achieving promising performance. Unfortunately, such methods ignore the context information and complex event relationships. Although a few graph-based methods address this, they utilize temporal structure between log events and mainly focus on log segment classification. In this paper, we propose a novel framework termed Deep Graph-based Log Anomaly Detection (DeepGraLog), which advances detection granularity to the code file level. First, DeepGraLog uses a novel graph representation learning module to capture event relationships and code file interactions. This graph representation enables both anomaly detection and source code localization. Second, it introduces the weighted static call graph, for the first time, to delineate an overview of system functionality from the perspective of business logic, further improving the performance of log anomaly detection. Third, due to dataset limitations, we created two new datasets to serve our task, additionally adding the dynamic call information and root cause labeled in code files. Experiments show that DeepGraLog consistently outperforms existing methods. Across all evaluation settings, it achieves an average F1-score gain of 9.995% over the second-best baseline, demonstrating robust performance.

Journal

Engineering Applications of Artificial Intelligence cover
Engineering Applications of Artificial Intelligence
IF:
8
Papers:
5.3K
Citations:
3.5W

Organization

H
Huawei
Scholars:
70
Papers: 40
Citations: 4
S
southwest university
Scholars:
4.7K
Papers: 1.5K
Citations: 0
H
Harbin Institute of Technology
Scholars:
1.3W
Papers: 4.3K
Citations: 8.5W
T
the university of auckland
Scholars:
374
Papers: 176
Citations: 0
researcher View more organizations