Skip to content

7onn/nginx-globe-gl

Repository files navigation

nginx-globe-gl

Globe.gl visualization for NGINX access logs

Requirements

Running locally

Run the following commands

cat <<EOF > .env
ELASTICSEARCH_HOST=<replace-host>
ELASTICSEARCH_USER=<replace-user>
ELASTICSEARCH_PASSWORD=<replace-password>
SELF_URL=http://localhost:9999
ELASTICSEARCH_QUERY={"size":1000,"query":{"match":{"kubernetes.labels.app_kubernetes_io/name":"ingress-nginx"}},"sort":[{"@timestamp":"desc"}]}
EOF

cat <<EOF > GeoIP.conf
AccountID <maxmind-acc-id>
LicenseKey <maxmind-license-key>
EditionIDs GeoLite2-City
EOF

geoipupdate -vf GeoIP.conf -d .

go run .

Access http://locahost:9999/ 🚀

About

Globe.gl visualization for NGINX access logs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published