Prometheus exporter to count SSH failed login attempts (reads from `/var/log/auth.log`)
467
WIP: Prometheus exporter that listens on /var/log/auth.log events and exposes counters with the the failed login attempts. Labels (for now): ip and country.
ā ļø This was written on a Friday night, while drinking some Belgian beers. You better don't look too much at the code, and don't use it in production. šš»

go run sshlogexporter/main.go
Nothing to configure at the moment.
Uses sirupsen/logrusā for logging, hpcloud/tailā for countinously reading the file and phuslu/geoipā for getting the country of the IPs
Content type
Image
Digest
Size
163.8 MB
Last updated
over 6 years ago
docker pull denbeke/ssh-log-exporter