LogSage is a tool that lets you upload logs and get intelligent summaries of errors and likely root causes — powered by an LLM running locally or remotely.
- 📂 Upload Log Files:
.log
or.txt
— web server, system, app logs, etc. - 🔍 Error Extraction: Filters log content to highlight relevant warnings, exceptions, and errors.
- 🧠 LLM Analysis: Produces a short root cause summary and suggestions based on the log.
- Uses a system prompt to guide the LLM into behaving like a log analyst
- Extracts lines with keywords like
"error"
,"warn"
,"fail"
,"exception"
- Summarizes and explains the issue in plain English
git clone https://github.com/yourusername/logsage.git
cd logsage
streamlit run app.py
You can test with:
- Synthetic logs (generated by LLMs)
- Real web/app/system logs
- Public issue tracker logs
LogSage aims to become an agentic AI system administrator assistant :
- 🖥️ MCP Agent Integration: Automatically pull logs from the system via an MCP server
- 🤖 Agentic Chain-of-Thought: Multistep reasoning to isolate deeper infrastructure problems
- 🔄 Live Log Streaming Support: Real-time log tailing + LLM insights
- 🧬 Semantic Root Cause Graphing: Link symptoms, errors, systems, and resolutions
- 🗂️ Cross-log Correlation: Compare logs across services, servers, or microservices
- 🔐 SOC/DevOps Integration: APIs for Jira, PagerDuty, Grafana alerts