Transformer-Based Log Anomaly Detection in Cloud Native Microservices Using Self-Supervised Pretraining
Vol. 3 , Issue 3 (2025) · pp. 17-25
Abstract
The rapid adoption of cloud-native architectures and microservices has significantly increased the complexity of modern distributed computing environments. Microservices-based applications generate massive volumes of heterogeneous log data across containers, orchestration platforms, distributed services, and cloud infrastructure. These logs provide essential information for monitoring system behavior, identifying operational failures, and detecting security threats. However, traditional log anomaly detection techniques often struggle to capture complex contextual relationships, temporal dependencies, and evolving behavioral patterns in large scale distributed environments. This paper proposes a Transformer-Based Log Anomaly Detection Framework using Self-Supervised Pretraining to improve the accuracy, scalability, and efficiency of anomaly identification in cloud-native microservices.