repositorypackage
0.0.0-20200509155846-d3b293bb2e3a
Repository: https://github.com/denbeke/ssh-log-exporter.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
SSH Log Exporter: Observe Attack Attempts with Prometheus
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. šš»
Usage
go run sshlogexporter/main.go
Configurations
Nothing to configure at the moment.
Acknowledgements
Uses sirupsen/logrus for logging, hpcloud/tail for countinously reading the file and phuslu/geoip for getting the country of the IPs