command
module
Version:
v0.0.0-...-97c98b6
Opens a new window with list of versions in this module.
Published: May 4, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
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/ 🚀
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.