Skip to content

Repository files navigation

npmGrafStats

NginxProxyManager Grafana Statistics.

This project analyzes the logs of the Nginx Proxy Manager and exports them to InfluxDB to be used in a Grafana Dashboard. npmGrafStats can save the Revers-Proxy and/or the Redirection Logs. Also a exclusion of IP's from for example external montitoring services is possible.

current version docker image size docker pulls

npmPlus

If you are using npmPlus have a look at the branch: npmPlus-main

Following Data is extracted from the Logs:

  • source IP
  • target IP in your home network set in NPM
  • the targeted domain
  • the measurement time
  • the status code
  • the bytes transported
  • the Browser and OS
  • the Data of the source IP from GeoLite2-City.mmdb
    • Country
    • Coordinates
    • City

A view of the Grafana Dashboard only within a few hours of running: npmGrafStats

Newest features

v4.0.0 complete rewrite from shell scripts to a single threaded Python process. Massively reduces CPU and RAM usage especially with many log files. AbuseIPDB cache now uses SQLite (no more corruption). No breaking changes to ENV vars, volumes or Grafana dashboards.

This project is a modified clone of https://github.com/Festeazy/nginxproxymanagerGraf and independent of https://github.com/jc21/nginx-proxy-manager. Changes to the original project can be found in the changelog.md file.

Obviously I'd appreciate any help or feedback :) Hope you enjoy. If you do so, please star this project.

Installation

The Installation instructions can now be found in the GitHub Wiki.

Currently supported architectures: amd64, arm/v7 and arm64.

Github Registry is now additionally available to Docker Registry by adding ghcr.io/ in front of smilebasti/npmgrafstats:latest.

A full setup example is available with the docker-compose.yml

Star History

Star History Chart

About

This project exports NginxProxyManager or NPMplus Logs to InfluxDB for displaying them in a Grafana Dashboard.

Topics

Resources

Stars

208 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages