Skip to main navigation Skip to search Skip to main content

Log anomaly detection in AIOps: A real-world implementation using Large Language Models

Research output: Contribution to journalArticleAcademicpeer-review

13 Downloads (Pure)

Abstract

This study investigates the application of Large Language Models (LLMs) for log anomaly detection within the emerging field of AIOps, where large-scale operational logs are increasingly used to support reliability engineering and automated incident response. However, deploying LLM-based anomaly detection in military environments raises practical constraints, including strict data confidentiality, limited data sharing, and frequent shifts in operational conditions and log formats. To address these challenges, we design and implement a self-supervised anomaly detection framework based on LogBERT, trained only on normal Linux syslog sequences, and deploy it locally to avoid external dependencies. We explore critical parameters, including the minimum number of tokens per log sequence, sliding window intervals, and mask ratios while attempting to detect log anomaly. In controlled experiments, a 15-second sliding window with a 10-second overlap provided the best trade-off between detection effectiveness and inference latency, supporting real-time monitoring requirements. Quantitative evaluation demonstrates that shorter sliding windows, despite capturing less context, resulted in slightly higher detection performance of anomalous logs. The model achieved high accuracy in distinguishing normal from abnormal log sequences, where sequences were classified as anomalous if more than 10% of masked tokens were incorrectly predicted. A qualitative assessment with domain experts further validated the operational usefulness of the approach, indicating reduced manual monitoring effort and suitability for integration into AIOps pipelines under confidentiality constraints.
Original languageEnglish
Article number200475
Number of pages18
JournalSystems and Soft Computing
Volume8
Early online date5 Mar 2026
DOIs
Publication statusE-pub ahead of print/First online - 5 Mar 2026

Keywords

  • UT-Gold-D
  • Log anomaly detection
  • Linux systems
  • Large Language Models
  • LogBERT
  • Artificial Intelligence for IT Operations (AIOps)

Fingerprint

Dive into the research topics of 'Log anomaly detection in AIOps: A real-world implementation using Large Language Models'. Together they form a unique fingerprint.

Cite this