PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
March 8, 2026Systems and Soft Computing2 citationsOpen Access

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

View Full Paper
MCMiguel De la Cruz CabelloTSTiago Prince SalesMMMarcos Machado

Key Points

  • The study aims to explore the use of Large Language Models for detecting anomalies in operational logs, particularly in military contexts.
  • Designed a self-supervised anomaly detection framework based on LogBERT.
  • Trained the model only on normal Linux syslog sequences.
  • Conducted controlled experiments to evaluate different sliding window parameters.
  • Achieved high accuracy in detecting anomalies, with classification if >10% of masked tokens were incorrectly predicted.
  • Best performance observed with a 15-second sliding window (10-second overlap), balancing effectiveness and latency.
  • Qualitative assessments suggested reduced manual monitoring effort and operational suitability.

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.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Cabello et al. (2026) studied this question.

synapsesocial.com/papers/69ad122be7e9681137aa8835https://doi.org/10.1016/j.sasc.2026.200475
Ask AI
Helpful
Bookmark
Share
View Full Paper