cbassram07/Python-Log-File-Analyzer
GitHub: cbassram07/Python-Log-File-Analyzer
Stars: 0 | Forks: 0
# Python Log Analyzer
A command-line Python project that analyzes authentication logs, summarizes failed login activity, and flags suspicious IP addresses based on a configurable threshold.
## Features
## Expected CSV Format
timestamp,username,ip,event,status
2026-02-09 09:01:12,seb,192.168.1.10,login,FAIL
## How to Run
python3 log_analyzer.py --file auth_log.csv
Run with a custom suspicious activity threshold:
python3 log_analyzer.py --file auth_log.csv --threshold 4
Export the report to JSON:
python3 log_analyzer.py --file auth_log.csv --threshold 4 --output report.json
## Resume Description
Built a Python command-line log analysis tool to parse authentication logs, summarize failed-login activity by IP address and username, and flag suspicious behavior using configurable thresholds.