{"repo":"GilbN/geoip2influx","free":true,"listed":false,"github":"https://github.com/GilbN/geoip2influx","clone":"git clone https://github.com/GilbN/geoip2influx.git","description":"A python script that will parse the nginx access.log and send geolocation metrics and log metrics to InfluxDB","language":"Python","stars":87,"topics":["geolocation-metrics","log-metrics","nginx","influxdb","grafana","python","geoip2","docker","grafana-dashboard","hacktoberfest"],"license":"MIT","category":"analytics","readme_excerpt":"Geoip2Influx This project has been superseeded by GeoMetrikks A python script that will parse the nginx access.log and send geolocation metrics and log metrics to InfluxDB For the linuxserver/letsencrypt docker mod, click here : https://github.com/linuxserver/docker-mods/tree/swag-geoip2influx Usage Enviroment variables: These are the default values for all envs. Add the ones that differ on your system. Environment Variable Example Value Description -------------------- ------------- ----------- NGINX LOG PATH /config/log/nginx/access.log Container path for Nginx logfile , defaults to the example. GEO MEASUREMENT geoip2influx InfluxDB measurement name for geohashes. Optional, defaults to the example. LOG MEASUREMENT nginx access logs InfluxDB measurement name for nginx logs. Optional, defaults to the example. SEND NGINX LOGS true Set to false to disable nginx logs. Optional, defaults to true . GEOIP2INFLUX LOG LEVEL info Sets the log level in geoip2influx.log. Use debug for verbose logging Optional, defaults to info. GEOIP2INFLUX LOG PATH /config/log/geoip2influx/geoip2influx.log Optional. Defaults to example. GEOIP DB PATH /config/geoip2db/GeoLite2-City.mmdb Optional. Defaults to example. MAXMINDDB LICENSE KEY xxxxxxx Add your Maxmind licence key MAXMINDDB USER ID xxxxxxx Add your Maxmind account id InfluxDB v1.8.x values Environment Variable Example Value Description -------------------- ------------- ----------- INFLUX HOST localhost Host running InfluxDB. INFLUX HOST PORT","default_branch":null,"files":null,"tree":[],"storefront":"/r/GilbN","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/GilbN/geoip2influx/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}