A lightweight log analysis engine that processes user activity and detects behavioral patterns based on request frequency, sensitive endpoints, and access patterns.
2026-04-16.11-35-23.mp4
- O(n) log processing
- Per-user behavior tracking
- Endpoint frequency analysis
- Time-based request analysis
- Suspicion scoring system (WIP)
to test the API go to this url: https://api-log-kappa.vercel.app/docs
{
"timestamp": { "value": "2026-04-15T15:25:38.610Z" },
"ip": { "value": "192.168.1.72" },
"endpoint": { "value": "/admin" },
"status": { "value": 200 },
"user_id": { "value": "38402370589435463" }
},
├── app.py
├── DOCS.md
├── README.md
└── src
├── controllers
├── __init__.py
├── models
│ ├── api_models
│ │ ├── endpoint.py
│ │ ├── __init__.py
│ │ ├── ip.py
│ │ ├── log_base.py
│ │ ├── statuscode.py
│ │ ├── timestamp.py
│ │ └── userid.py
│ ├── domain
│ │ ├── log.py
│ │ └── user.py
│ └── __init__.py
├── routes
│ ├── __init__.py
│ └── routes.py
└── services
└── analize_logs.py