Skip to content

EdwinJdevops/ai-log-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Log Analyzer

An AI-powered DevOps tool that reads system logs, detects errors and anomalies, and generates intelligent incident reports using LLM inference.

Built to simulate real-world Site Reliability Engineering (SRE) workflows.


What It Does

  • Reads system log files in real-time
  • Detects ERROR, WARNING, and INFO patterns
  • Sends logs to AI model for intelligent analysis
  • Generates structured incident reports automatically

Tech Stack

  • Python 3
  • Groq API (LLaMA 3.3 70B)
  • Docker
  • GitHub Actions (CI/CD)
  • Linux/WSL

How To Run

Clone the repo:

git clone https://github.com/edwinjonathanchibuike123-sys/ai-log-analyzer
cd ai-log-analyzer

Add your Groq API key:

cp .env.example .env
# Edit .env and add your GROQ_API_KEY

Install dependencies:

pip install -r requirements.txt

Run the analyzer:

python3 app.py

Run with Docker:

docker build -t ai-log-analyzer .
docker run ai-log-analyzer

CI/CD Pipeline

Every push to master automatically triggers the GitHub Actions pipeline which installs dependencies and runs the analyzer.


Author

Edwin Jonathan Chibuike
DevOps & Cloud Engineering
GitHub: edwinjonathanchibuike123-sys.

About

AI-powered DevOps tool that analyzes system logs and generates incident reports using LLaMA 3.3de

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages