Log-Insight: Automating Microservice Incident Diagnosis via Neuro-Symbolic Log Analysis

📅 2026-07-09
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the challenges of root cause diagnosis in large-scale microservice systems, where existing approaches are hindered by massive log volumes, limited LLM context windows, and insufficient semantic reasoning and interpretability. The authors propose a neuro-symbolic hybrid method that emulates Site Reliability Engineers’ manual troubleshooting process through a six-stage pipeline for log sampling, template clustering, and anomaly ranking, producing a concise evidence package for LLM-based root cause inference. This approach compresses raw logs by 1,000–7,000× while preserving critical failure signals and provides auditable log templates and statistical evidence, substantially enhancing interpretability and practicality. Evaluated on 11 real-world incidents, the method achieves an MRR of 0.790 and ranks the correct root cause within the top three candidates in over 90% of cases within one minute, earning strong endorsement from operations teams.
📝 Abstract
Diagnosing production incidents in large-scale microservice systems is time-critical for Site Reliability Engineers (SREs). A single 30-minute incident window in our deployment can generate over two million log lines--approximately 1.2 billion characters, far exceeding standard LLM context windows--making direct LLM-based Root Cause Analysis (RCA) infeasible. Existing approaches leave gaps: template-based parsers lack semantic anomaly reasoning, deep-learning detectors emit black-box binary signals, and LLM pipelines suffer context overflow and domain hallucination on raw telemetry. We present Log-Insight, an automated incident-diagnosis system deployed in production at Huawei. The core design principle automates the SRE's manual triage workflow: symbolic stages replicate the structured investigation a skilled SRE would perform--sampling, schema understanding, pattern clustering, and statistical anomaly ranking. This hands the LLM a compact, pre-ranked evidence dossier to synthesise into a hypothesis report. Our six-stage pipeline reduces millions of raw events by 1,000-7,000x while preserving statistically significant failure signals. Evaluated on 11 historical production incidents (110 runs, SRE-validated ground truth), Log-Insight achieves MRR = 0.790, returning the correct root cause within the top-3 hypotheses in over 90% of runs in under a minute of latency. We report systematic failure modes, active mitigations, and open research directions. The Forensic Evidence section--listing exact log templates and skew statistics--was consistently identified by operators as a key adoption factor, shifting the system's perceived role from opaque oracle to investigative assistant.
Problem

Research questions and friction points this paper is trying to address.

microservice
incident diagnosis
log analysis
root cause analysis
large-scale systems
Innovation

Methods, ideas, or system contributions that make the work stand out.

neuro-symbolic
log analysis
microservice diagnosis
root cause analysis
automated triage
C
Carlos Garcia-Hernandez
Huawei Ireland Research Centre, Dublin, Ireland
A
Aymane Abdali
Huawei Ireland Research Centre, Dublin, Ireland
Guangyu Wu
Guangyu Wu
Aon Centre for Innovation and Analytics, AON
Machine LearningData MiningSocial Network AnalysisArtificial IntelligenceRecommender Systems
M
Mingxue Wang
Huawei Ireland Research Centre, Dublin, Ireland
Fei Shen
Fei Shen
National University of Singapore
Controllable GenerationMultimodal Safety
Z
Zhaoyu Pang
Huawei Dongguan R&D Centre, Dongguan, China
Y
Yanbin Zhang
Huawei Dongguan R&D Centre, Dongguan, China