300 lines of Python that flag weird log lines with Isolation Forest. Advanced, for DevOps and sysadmins. Runs as python3 log_anomaly.py --log-file app.log --window 5m
https://www.valtersit.com/python/log-anomaly-detector-with-isolation-forest/
#python #devops #infra
