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.
- 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
| Component | Technology |
|---|---|
| Language | Python 3.x |
| Log Parsing | re, pathlib |
| Configuration | configparser |
| Reporting | json |
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
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.txtDrop log files into logs/input/ then run:
python main.pyLOG 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
- AWS S3 log ingestion
- Real-time log streaming support
- Anomaly detection with time-window analysis
- Power BI dashboard integration
- Unit tests with pytest
Alex Evans | CloudOps & NOC Engineer GitHub | alex.evans.cloudops@gmail.com
*Built to demonstrate production-grade log intelligence and NOC engineering practices.