This tool:
- Reads log stream emitted by Mikrotik routers
- Rarses VPN login and logout messages
- Takes VPN client's IP address and looks it up in a local GeoLite2 ASN database.
- Exports login/logout Prometheus metrics broken down by ASN.
Log messages are expected to be shipped to the TCP syslog endpoint.
Licensed under MIT license.