Skip to content

alex-cloudops/log-intelligence-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

log-intelligence-engine

A production-grade log parsing and intelligence engine that ingests raw log files, classifies severity levels, analyzes error patterns, and generates structured JSON intelligence reports.

Built to mirror real NOC and CloudOps log analysis workflows.


Features

  • Multi-format log parsing — Apache, Nginx, Syslog, and custom formats
  • Intelligent classification — AUTO-detects CRITICAL, ERROR, WARNING, INFO, DEBUG
  • Pattern analysis — Error rates, warning rates, and health status scoring
  • JSON intelligence reports — Machine-readable output for downstream ingestion
  • Config-driven — Zero hardcoded values

Tech Stack

Component Technology
Language Python 3.x
Log Parsing re, pathlib
Configuration configparser
Reporting json

Project Structure

log-intelligence-engine/
├── engine/
│   ├── parser.py        # Log file ingestion and parsing
│   ├── classifier.py    # Severity level classification
│   ├── analyzer.py      # Pattern analysis and health scoring
│   └── reporter.py      # JSON intelligence report generation
├── config/
│   └── config.ini       # All configuration lives here
├── logs/
│   ├── input/           # Drop log files here
│   └── output/          # Intelligence reports output here
└── main.py              # Engine entry point

Getting Started

git clone https://github.com/Alex-CloudOps/log-intelligence-engine.git
cd log-intelligence-engine
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt

Drop log files into logs/input/ then run:

python main.py

Sample Output

LOG INTELLIGENCE ENGINE
📂 Parsing log files...
Parsing: sample.log
  → 10000/10000 lines parsed
📊 Analysis: sample.log
   Total entries : 10000
   Health status : HEALTHY
   Error rate    : 0.17%
   Level breakdown: {'INFO': 9983, 'ERROR': 17}
📄 Report written to: logs/output/report.json

Roadmap

  • AWS S3 log ingestion
  • Real-time log streaming support
  • Anomaly detection with time-window analysis
  • Power BI dashboard integration
  • Unit tests with pytest

Author

Alex Evans | CloudOps & NOC Engineer GitHub | alex.evans.cloudops@gmail.com


*Built to demonstrate production-grade log intelligence and NOC engineering practices.

About

Production-grade log parsing and intelligence engine with severity classification, pattern analysis, and structured JSON reporting

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages