Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smilebasti/npmGrafStats
This project exports NginxProxyManager Logs to InfluxDB for displaying them in a Grafana Dashboard.
https://github.com/smilebasti/npmGrafStats
docker docker-compose grafana influxdb nginx nginx-proxy-manager
Last synced: about 1 month ago
JSON representation
This project exports NginxProxyManager Logs to InfluxDB for displaying them in a Grafana Dashboard.
- Host: GitHub
- URL: https://github.com/smilebasti/npmGrafStats
- Owner: smilebasti
- License: gpl-3.0
- Created: 2022-11-22T10:37:12.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-16T08:14:31.000Z (8 months ago)
- Last Synced: 2024-08-06T00:57:59.494Z (5 months ago)
- Topics: docker, docker-compose, grafana, influxdb, nginx, nginx-proxy-manager
- Language: Shell
- Homepage:
- Size: 98.6 KB
- Stars: 141
- Watchers: 2
- Forks: 10
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
### 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 Data of the source IP from GeoLite2-City.mmdb
- Country
- Coordinates
- CityA view of the Grafana Dashboard only within a few hours of running:
![npmGrafStats](https://user-images.githubusercontent.com/60941345/203383131-50b7197e-2e58-4bb1-a7e6-d92e15d3430a.png)## Newest features
v2.4.2 added cidr notation to the monitoringips.txt (CIDR format a.b.c.d/xx or aa:bb::cc::dd/xx IP range a.b.c.d-e.f.g.h Single IP a.b.c.d or aa:bb:cc::dd).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](https://github.com/smilebasti/npmGrafStats/blob/main/changelog.md) file.
### Obviously I'd appreciate anyhelp or feedback :) Hope you enjoy. If you do so, please star this project.
# Installation
If you are only able to use InfluxDB v1 see Branch: https://github.com/smilebasti/npmGrafStats/tree/influx-v1. This Branch is not being developed anymore!### The Installation instructions can now be found in the [GitHub Wiki](https://github.com/smilebasti/npmGrafStats/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 installation example is available with the [docker-compose.yml](https://github.com/smilebasti/npmGrafStats/blob/main/docker-compose.yml)
## Star History
[![Star History Chart](https://api.star-history.com/svg?repos=smilebasti/npmgrafstats&type=Date)](https://star-history.com/#smilebasti/npmgrafstats&Date)