Your access logs, on a live map.

GeoMetrikks tails your reverse proxy's access log, looks every request up in GeoLite2, and draws it on a world map within seconds. Traffic analytics, a searchable history, and CrowdSec bans next to the traffic that caused them. On your own hardware.

  • nginx
  • Nginx Proxy Manager
  • Traefik
  • Caddy
  • Loki

MIT licensed. One Docker image for amd64 and arm64. No telemetry.

geometrikks · ingestion
access.log 203.0.113.7 - - [02/Sep/2026:23:41:07 +0000] "GET /wp-login.php HTTP/1.1" 403 153 "-" home.example.org "Mozilla/5.0 zgrab/0.x" "0.001" "-"detect format=nginx (positional, $time_local)parse method=GET path=/wp-login.php status=403 host=home.example.org bytes=153 rt=1msgeoip 203.0.113.7 → Hanoi, VN 21.03, 105.85 AS135905 (hosting)store access_logs +1 geo_events +1 hypertable chunk 2026-09-02notify /ws/live → 1 client map: +1 marker, route → servercrowdsec decision for 203.0.113.7: ban (http-probing, 4h) still knocking: yes access.log {"client_ip":"198.51.100.24","timestamp":"2026-09-02T23:41:09+00:00","method":"GET","path":"/","status":"200","host":"blog.example.org","request_time":"0.018"}detect format=geometrikks-jsongeoip 198.51.100.24 → Toronto, CA 43.65, -79.38 AS812notify /ws/live → 1 client map: +1 marker

The logs must flow.

geometrikks.home.lan/map
The live map on a phone, with routes arriving at the server.

Live map. Show requests as markers, clusters or a heatmap on a flat map or globe, over a street map or satellite imagery. Switch to the Banned IPs view to see where CrowdSec bans come from. Live routes end at the server location you configure.

Install it on your phone.

GeoMetrikks is a progressive web app with a phone layout for every page. Serve it over HTTPS, add it to your home screen, and it opens like an installed app, without the browser's toolbar.

With CrowdSec

Watch hostile traffic fuck around and find out.

Connect the Local API and the map's Banned IPs view shows where the bans come from. Open any of them in the IP inspector to see what that address did to earn it.

The map in its Banned view, with markers for IPs that CrowdSec has banned.
The IP inspector for a banned documentation address under AS64496 with no known location, showing its DROP and AbuseIPDB blacklist marks, its AbuseIPDB score, its request stats, targets and paths.
Every ban with the traffic behind it
The IP inspector shows an address's request counts, bandwidth, response codes over time, hosts, paths, user agents and recent requests, with its CrowdSec decision and how long is left on it. Requests that arrive after the ban are called out.
Ban and unban from the UI
With machine credentials, the IP actions menu in the tables gets Ban and Unban, and a shield button beside the IP does the same in map popups and the IP inspector. Pick a preset from an hour to forever, or type your own duration. Every ban and unban is audit-logged with the acting user.
Ban changes appear within seconds
GeoMetrikks follows CrowdSec's live updates, including bans and unbans made outside GeoMetrikks. The map and the badges refresh together.
Two lines to connect
# prints the API key
docker exec crowdsec cscli bouncers add geometrikks

CROWDSEC_LAPI_URL=http://crowdsec:8080
CROWDSEC_BOUNCER_API_KEY=<key>
CrowdSec decides; a bouncer in front of your stack still does the blocking. GeoMetrikks shows and manages decisions, it does not block traffic. CrowdSec setup in the docs

With or without CrowdSec

Also built in.

Point it at the log your proxy already writes.

The format is detected per file. Rotated files are followed. If a shipper already sends the lines to Loki, read them from there. Archives, plain or gzipped, can be backfilled through the same pipeline with one command.

nginx.confgeometrikks-jsonnginxcombined
log_format geometrikks_json escape=json
  '{'
    '"client_ip":"$remote_addr",'
    '"timestamp":"$time_iso8601",'
    '"method":"$request_method",'
    '"path":"$request_uri",'
    '"protocol":"$server_protocol",'
    '"status":"$status",'
    '"bytes":"$body_bytes_sent",'
    '"host":"$host",'
    '"referrer":"$http_referer",'
    '"user_agent":"$http_user_agent",'
    '"remote_user":"$remote_user",'
    '"request_time":"$request_time",'
    '"upstream_time":"$upstream_response_time",'
    '"request_raw":"$request"'
  '}';

access_log /config/log/nginx/access.log geometrikks_json;

In .env

ACCESS_LOG_DIR=/var/log/nginx
LOGPARSER_LOG_PATHS=/var/log/access/access.log

Worth knowing

  • nginx 1.11.8 or later, for escape=json.
  • The older positional format and nginx's built-in combined parse too, so archives import without a config change.
  • Behind a CDN, set real_ip so $remote_addr is the visitor and not the CDN.
nginx setup in the docs

Several proxies, one map.

When traffic comes in through more than one proxy or host, run one full instance plus an agent next to each log file. An agent tails, parses, geolocates and writes to the shared database. The full instance does everything else.

The live map shows a request the moment any agent stores it. Each server gets its own beacon on the map, and Access Logs, Geo Logs and the map filter by server.

APP_MODE=agent
DB_HOST=timescale.example.internal
LOGPARSER_LOG_PATHS=/var/log/access/access.log
LOGPARSER_SERVER_NAME=edge-01

You don't need agents if the logs already reach one machine. A single instance tails every shipped file, or reads each proxy from Loki.

Multi-source setup in the docs

Run GeoMetrikks with Docker Compose.

The Compose file starts GeoMetrikks and TimescaleDB on amd64 or arm64. Set the log path and your keys, then open the app on port 8000.

mkdir geometrikks && cd geometrikks
curl -LO https://raw.githubusercontent.com/GilbN/geometrikks/main/docker-compose.yml
curl -Lo .env https://raw.githubusercontent.com/GilbN/geometrikks/main/.env.example
$EDITOR .env      # set APP_ADMIN_PASSWORD, DB_PASSWORD and the MaxMind and CARTO keys
                  # add ACCESS_LOG_DIR, the folder your proxy writes its logs to
docker compose up -d
# open http://localhost:8000

You need

  • Docker. The Compose file brings TimescaleDB along.
  • A free MaxMind account. GeoLite2 City and ASN download at startup under your key and refresh weekly. You never touch .mmdb files.
  • A free CARTO key. The basemap comes from CARTO, and their terms want a key per deployment. The map loads without one today, but CARTO may refuse keyless tiles at any time.
  • A log file, or Loki. Not stdout. Traefik and Caddy need one directive to write a file.
  • An admin password, or OpenID Connect. Behind a proxy that authenticates every request, you can switch the built-in login off.

Optional

  • A free Esri key. For the map's Satellite view, which draws Esri World Imagery.
  • CrowdSec. Add a Local API key later and the Security page fills in.
  • An AbuseIPDB key. For scores in the IP inspector, reporting and the blacklist.

No telemetry. On its own the server contacts MaxMind for GeoLite2, a public-IP service for the map's server location, GitHub for the update check and Spamhaus for the DROP lists. Each one can be turned off. Outbound traffic lists every request and its switch.

What it runs on.