Skip to content
Open access

AI-Assisted Web Server Log Interpretation Using LLaMA Model

Oct 2026 · International Journal for Research in Applied Science and Engineering Technology · Vol 14, pp. 548-559 · 0 citations

TL;DR

Experimental evaluation demonstrates reliable task execution, efficient response generation, structured report handling, and effective contextual reasoning capabilities for both scheduled analysis and conversational AI-assisted workflows.

Abstract

Modern web infrastructures generate large volumes of access logs that contain valuable information related to system activity, user behaviour, performance monitoring, and cybersecurity threats. Manual analysis of these logs is time-consuming, error-prone, and inefficient for detecting suspicious activities in real time. This project presents the design and implementation of a Local AI System for Log Interpretation using LLaMA models, capable of performing automated log analysis, anomaly detection, AI-assisted summarization, and conversational log investigation within a privacy-preserving local execution environment. The system integrates Django-based operational management, Linux scheduling utilities (Cron and At), quantized GGUF(GPT-Generated Unified Format) LLaMA models, and Retrieval-Augmented Generation (RAG) techniques to support both scheduled analysis workflows and interactive “Chat with AI” operations. The log files uploaded/access from read-only specified location are passed to the AI inference engine, where log parsing, OWASP-based threat detection, contextual analysis, and structured JSON response generation are performed using locally deployed LLaMA models. Through CPU-compatible inference utilising llama-cpp-python, the project maintains lightweight deployment while enabling instantaneous, recurring, and scheduled analysis execution. GPU-accelerated environments such as Google Colab and Kaggle were additionally utilized for large-scale inference evaluation and high-volume log processing experiments. The conversational RAG workflow enables users to interact directly with uploaded logs using natural language queries and receive AI-generated cybersecurity insights, suspicious activity explanations, and remediation recommendations. Experimental evaluation demonstrates reliable task execution, efficient response generation, structured report handling, and effective contextual reasoning capabilities for both scheduled analysis and conversational AI-assisted workflows. The proposed system provides a modular, privacy-preserving, and locally deployable solution for intelligent cybersecurity log analysis and operational threat interpretation.

Read PDF

Similar papers

Conference Oct 2026

SecADLog: LLM-prompted security semantic knowledge-enhanced anomaly detection for cybersecurity logs

SecADLog is proposed, a security semantic knowledge-enhanced anomaly detection framework for cybersecurity logs that uses a structured prompt template tailored to cybersecurity logs to extract stable and consistent security semantics, which are then used to strengthen the representation and reasoning capabilities of sm...

Ji-Long Xu, Hong-Guo Zhang, Guang-Long Xu et al. · 0 citations
Sep 2026

Scalable and Adaptive Log-based Anomaly Detection: A Synergistic Approach

SeaLog is presented, an accurate, lightweight, and adaptive log-based anomaly detection framework that synergistically integrates the efficiency of traditional data-driven methods with the zero/few-shot learning ability of large language models (LLMs).

Jin-Yang Liu, Jun-Jie Huang, Zhihan Jiang et al. · 0 citations
#artificial intelligence Open access Oct 2026

AutoDP-LLM: automating data pre-processing for intrusion detection systems using large language models

The increasing complexity and scale of modern cyber-attacks demand intelligent and computationally efficient Intrusion Detection Systems (IDS). However, designing effective data pre-processing pipelines traditionally involves substantial trial-and-error effort and repeated evaluation of alternative configurations. For...

Bao-Phong Nguyen, Gia-Khanh Pham, Thai-Duong Do et al. · 0 citations
Book Open access Oct 2026

Falconf: A Web-Based Tool for Misconfiguration Diagnosis via Log Analysis

Misconfigurations continue to be one of the major causes of failures in distributed software systems, yet diagnosing them remains challenging. This is because faulty configuration parameters are difficult to identify among hundreds of configuration entries, and their effects often leave no explicit evidence in runtime...

Youyang Kim, Sahil Suneja, Yong-Hwan Jeong et al. · 0 citations
Review Open access Sep 2026

Anomaly Detection in Software System Logs Using Machine Learning

A review of how machine learning is used to detect anomalies in software system logs, with emphasis on the full pipeline from raw log messages to operational alerts, explains software logs, event templates, anomaly types, labels, and commonly used evaluation measures.

Ji-Rong Han · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.