RAGLog: Log Anomaly Detection using Retrieval Augmented Generation
On the map: Retrieval-augmented generation → Privacy and security of RAG
Abstract (arXiv)
The ability to detect log anomalies from system logs is a vital activity needed to ensure cyber resiliency of systems. It is applied for fault identification or facilitate cyber investigation and digital forensics. However, as logs belonging to different systems and components differ significantly, the challenge to perform such analysis is humanly challenging from the volume, variety and velocity of logs. This is further complicated by the lack or unavailability of anomalous log entries to develop trained machine learning or artificial intelligence models for such purposes. In this research work, we explore the use of a Retrieval Augmented Large Language Model that leverages a vector database to detect anomalies from logs. We used a Question and Answer configuration pipeline. To the best of our knowledge, our experiment which we called RAGLog is a novel one and the experimental results show much promise.
Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Placed in Privacy and security of RAG, one of 15 directions in Retrieval-augmented generation. Builds on 7 of its 20 references that are in the map. First posted on arXiv 9 Nov 2023.
Builds on
7 of 20 references.
References · 7
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2017Prototypical Networks for Few-shot Learningcited by 3,001
- 2019Latent Retrieval for Weakly Supervised Open Domain Question Answeringcited by 691
- 2021Log-based Anomaly Detection Without Log Parsingcited by 59
- 2021Experience Report: Deep Learning-based System Log Analysis for Anomaly Detectioncited by 37
- 2023An Assessment of ChatGPT on Log Datacited by 11
- 2021OneLog: Towards End-to-End Training in Software Log Anomaly Detectioncited by 7
Built on by
Citing papers per year: 2024: 5; 2025: 10; 2026: 4.
19 papers.
Sort:
By area:
- 2024LogLLM: Log-based Anomaly Detection Using Large Language Modelscited by 21
- 2024LogLM: From Task-based to Instruction-based Automated Log Analysiscited by 13
- 2025Adaptive Root Cause Localization for Microservice Systems with Multi-Agent Recursion-of-Thoughtcited by 11
- 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
- 2024Adapting Large Language Models to Log Analysis with Interpretable Domain Knowledgecited by 6
- 2025Mapping the Landscape of Generative AI in Network Monitoring and Managementcited by 4
- 2024FastRAG: Retrieval Augmented Generation for Semi-structured Datacited by 3
- 2025LLMLogAnalyzer: A Clustering-Based Log Analysis Chatbot using Large Language Modelscited by 3
- 2026Bian Que: An Agentic Framework with Flexible Skill Arrangement for Online System Operationscited by 2
- 2024Enhancing Reasoning Capacity of SLM using Cognitive Enhancementcited by 1
- 2025Retrieval Augmented Anomaly Detection (RAAD): Nimble Model Adjustment Without Retrainingcited by 1
- 2025ADALog: Adaptive Unsupervised Anomaly detection in Logs with Self-attention Masked Language Modelcited by 1
7 more
- 2026CAM-LDS: Cyber Attack Manifestations for Automatic Interpretation of System Logs and Security Alertscited by 1
- 2025RationAnomaly: Log Anomaly Detection with Rationality via Chain-of-Thought and Reinforcement Learningcited by 0
- 2025FusionLog: Cross-System Log-based Anomaly Detection via Fusion of General and Proprietary Knowledgecited by 0
- 2025REFLEX: Reference-Free Evaluation of Log Summarization via Large Language Model Judgmentcited by 0
- 2025Debugging Tabular Log as Dynamic Graphscited by 0
- 2026KRONE: Scalable LLM-Augmented Log Anomaly Detection via Hierarchical Abstractioncited by 0
- 2026Sample-Efficient LLM-Based Detection of Malicious Web Server Logs with Forensically Explainable Reasoningcited by 0
- 2026Sample-Efficient LLM-Based Detection of Malicious Web Server Logs with Forensically Explainable Reasoning7 Jun 2026
- 2026Bian Que: An Agentic Framework with Flexible Skill Arrangement for Online System Operations29 Apr 2026
- 2026CAM-LDS: Cyber Attack Manifestations for Automatic Interpretation of System Logs and Security Alerts4 Mar 2026
- 2026KRONE: Scalable LLM-Augmented Log Anomaly Detection via Hierarchical Abstraction7 Feb 2026
- 2025Debugging Tabular Log as Dynamic Graphs28 Dec 2025
- 2025FusionLog: Cross-System Log-based Anomaly Detection via Fusion of General and Proprietary Knowledge8 Nov 2025
- 2025REFLEX: Reference-Free Evaluation of Log Summarization via Large Language Model Judgment6 Nov 2025
- 2025LLMLogAnalyzer: A Clustering-Based Log Analysis Chatbot using Large Language Models28 Oct 2025
- 2025RationAnomaly: Log Anomaly Detection with Rationality via Chain-of-Thought and Reinforcement Learning18 Sep 2025
- 2025Large Language Models for Security Operations Centers: A Comprehensive Survey13 Sep 2025
- 2025Adaptive Root Cause Localization for Microservice Systems with Multi-Agent Recursion-of-Thought28 Aug 2025
- 2025ADALog: Adaptive Unsupervised Anomaly detection in Logs with Self-attention Masked Language Model15 May 2025
7 more
- 2025Retrieval Augmented Anomaly Detection (RAAD): Nimble Model Adjustment Without Retraining26 Feb 2025
- 2025Mapping the Landscape of Generative AI in Network Monitoring and Management12 Feb 2025
- 2024Adapting Large Language Models to Log Analysis with Interpretable Domain Knowledge2 Dec 2024
- 2024FastRAG: Retrieval Augmented Generation for Semi-structured Data21 Nov 2024
- 2024LogLLM: Log-based Anomaly Detection Using Large Language Models13 Nov 2024
- 2024LogLM: From Task-based to Instruction-based Automated Log Analysis12 Oct 2024
- 2024Enhancing Reasoning Capacity of SLM using Cognitive Enhancement1 Apr 2024
- 2025Adaptive Root Cause Localization for Microservice Systems with Multi-Agent Recursion-of-Thoughtcited by 11
- 2024Enhancing Reasoning Capacity of SLM using Cognitive Enhancementcited by 1
- 2025RationAnomaly: Log Anomaly Detection with Rationality via Chain-of-Thought and Reinforcement Learningcited by 0
- 2025RationAnomaly: Log Anomaly Detection with Rationality via Chain-of-Thought and Reinforcement Learning18 Sep 2025
- 2025Adaptive Root Cause Localization for Microservice Systems with Multi-Agent Recursion-of-Thought28 Aug 2025
- 2024Enhancing Reasoning Capacity of SLM using Cognitive Enhancement1 Apr 2024
- 2024LogLLM: Log-based Anomaly Detection Using Large Language Modelscited by 21
- 2024LogLM: From Task-based to Instruction-based Automated Log Analysiscited by 13
- 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
- 2024Adapting Large Language Models to Log Analysis with Interpretable Domain Knowledgecited by 6
- 2025Mapping the Landscape of Generative AI in Network Monitoring and Managementcited by 4
- 2025LLMLogAnalyzer: A Clustering-Based Log Analysis Chatbot using Large Language Modelscited by 3
- 2025ADALog: Adaptive Unsupervised Anomaly detection in Logs with Self-attention Masked Language Modelcited by 1
- 2026CAM-LDS: Cyber Attack Manifestations for Automatic Interpretation of System Logs and Security Alertscited by 1
- 2025FusionLog: Cross-System Log-based Anomaly Detection via Fusion of General and Proprietary Knowledgecited by 0
- 2025REFLEX: Reference-Free Evaluation of Log Summarization via Large Language Model Judgmentcited by 0
- 2025Debugging Tabular Log as Dynamic Graphscited by 0
- 2026KRONE: Scalable LLM-Augmented Log Anomaly Detection via Hierarchical Abstractioncited by 0
12 most cited of 13 All 13 (JSON)
- 2026Sample-Efficient LLM-Based Detection of Malicious Web Server Logs with Forensically Explainable Reasoning7 Jun 2026
- 2026CAM-LDS: Cyber Attack Manifestations for Automatic Interpretation of System Logs and Security Alerts4 Mar 2026
- 2026KRONE: Scalable LLM-Augmented Log Anomaly Detection via Hierarchical Abstraction7 Feb 2026
- 2025Debugging Tabular Log as Dynamic Graphs28 Dec 2025
- 2025FusionLog: Cross-System Log-based Anomaly Detection via Fusion of General and Proprietary Knowledge8 Nov 2025
- 2025REFLEX: Reference-Free Evaluation of Log Summarization via Large Language Model Judgment6 Nov 2025
- 2025LLMLogAnalyzer: A Clustering-Based Log Analysis Chatbot using Large Language Models28 Oct 2025
- 2025Large Language Models for Security Operations Centers: A Comprehensive Survey13 Sep 2025
- 2025ADALog: Adaptive Unsupervised Anomaly detection in Logs with Self-attention Masked Language Model15 May 2025
- 2025Mapping the Landscape of Generative AI in Network Monitoring and Management12 Feb 2025
- 2024Adapting Large Language Models to Log Analysis with Interpretable Domain Knowledge2 Dec 2024
- 2024LogLLM: Log-based Anomaly Detection Using Large Language Models13 Nov 2024
12 newest of 13 All 13 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Log Anomaly Detection with Large Language Models via Knowledge-Enriched Fusion
- 2024LLM meets ML: Data-efficient Anomaly Detection on Unstable Logs
- 2025Memory-Augmented Log Analysis with Phi-4-mini: Enhancing Threat Detection in Structured Security Logs ↗
- 2024MLAD: A Unified Model for Multi-system Log Anomaly Detection
- 2026Retrieval-Augmented LLMs for Security Incident Analysis
- 2025LLM-based event log analysis techniques: A survey
- 2025Adapting Large Language Models to Emerging Cybersecurity using Retrieval Augmented Generation
- 2025Logic-Driven Cybersecurity: A Novel Framework for System Log Anomaly Detection using Answer Set Programming ↗