Intelligent Linux Kernel Log Diagnostics & Automated Root Cause Analysis Platform
KernelLens AI is an end-to-end telemetry intelligence system designed to ingest, parse, correlate, and diagnose Linux kernel and system logs in real time. Combining machine learning anomaly detection with LLM-powered root cause analysis (RCA), KernelLens transforms noisy raw logs into actionable incident evidence, confidence-scored diagnostics, and targeted remediation steps.
flowchart TD
subgraph Ingestion ["1. Log Sources & Ingestion"]
S1["dmesg / Kernel Ring Buffer"]
S2["systemd journalctl"]
S3["/var/log / syslog"]
COL["KernelLens Collector"]
S1 --> COL
S2 --> COL
S3 --> COL
end
subgraph Processing ["2. Parsing & Normalization"]
PAR["Regex / Drain Log Parser"]
NORM["Structured Schema Normalization"]
COL --> PAR --> NORM
end
subgraph ML_Pipeline ["3. ML Intelligence & Correlation"]
ANOM["Anomaly Detection & Filtering"]
CORR["Temporal & Event Correlation Engine"]
CTX["Context & Incident Graph Builder"]
NORM --> ANOM --> CORR --> CTX
end
subgraph GenAI ["4. GenAI Root Cause Analysis"]
LLM["LLM Diagnostics Engine"]
RCA["Cause + Evidence + Confidence"]
GUIDE["Actionable Troubleshooting Guidance"]
CTX --> LLM --> RCA --> GUIDE
end
subgraph Storage_UI ["5. Persistence & Interface"]
DB[(Incident & Metrics Database)]
DASH["Interactive Real-Time Dashboard"]
RCA --> DB
GUIDE --> DB
DB --> DASH
end
This repository enforces a strict 3-tier branch architecture maintained by our 3-developer team and AI agent:
main (Production & Final Submission Only)
└── develop (Permanent Integration Branch)
├── feature/log-collector
├── feature/log-parser
├── feature/anomaly-classifier
├── feature/event-correlation
├── feature/fastapi-backend
├── feature/llm-analysis
├── feature/dashboard
└── ...
- Never code directly on
mainordevelop. - Feature branches branch from the latest
develop:feature/<feature-name>. - Pull Requests always target
develop. - Merge Authority: Only the repository maintainer (Shreyans Chowdry) merges Pull Requests into
develop. - Automatic branch deletion cleans up merged feature branches.
developmerges intomainonly upon final project release.
Full guidelines are codified in AGENTS.md and .agents/rules/git-workflow.md.
- Repository Maintainer & Owner: Shreyans Chowdry
- Development Team: 3-member team vibe coding with Antigravity