github GilbN/geometrikks v0.20.0

10 hours ago

What's Changed

  • feat(map): open decision alerts from the Banned IPs popup by @GilbN in #274
  • feat(map): open the map on the site homes, add MAP_DEFAULT_VIEW by @GilbN in #276
  • build(docker): drop the recursive chown and the in-image typecheck by @GilbN in #277
  • docs(npm): add an Nginx Proxy Manager setup guide by @GilbN in #283
  • test(logs): refresh the facets CAGGs over a window TimescaleDB accepts by @GilbN in #284
  • chore(deps): bump the uv group across 1 directory with 2 updates by @dependabot[bot] in #280
  • chore(deps): bump the python-minor-patch group across 1 directory with 4 updates by @dependabot[bot] in #281
  • chore(deps): bump the frontend-minor-patch group with 10 updates by @dependabot[bot] in #282
  • fix(map): show a message when WebGL2 cannot start by @GilbN in #285
  • refactor(ingestion): split log sources from the parser by @GilbN in #287
  • fix(ingestion): keep log sources running through a GeoIP reader reload by @GilbN in #288
  • fix(ingestion): keep lines written during the format check and detect rotations with unread lines by @GilbN in #291
  • refactor(ingestion): move the hostname to the log source and list unavailable sources on /health by @GilbN in #292
  • test: remove the known sources of flaky CI failures by @GilbN in #296
  • fix(logsources): end FileSource polls as soon as stop is set by @GilbN in #299

Added

  • The Banned IPs map popup can open a decision's alert. Click the scenario name to see the same alert details as on the Security page.
  • MAP_DEFAULT_VIEW sets where the map opens, as latitude,longitude or latitude,longitude,zoom. The zoom defaults to 3. For example, MAP_DEFAULT_VIEW=71.129982,27.653369,15 opens on northern Norway at zoom 15. GET /api/v1/settings returns it as map.defaultView.
  • Setup guide for Nginx Proxy Manager in the README.
  • /health lists each log source ingestion is waiting for under ingestion.unavailableSources, with its kind and the reason. missingFiles is unchanged.

Changed

  • The map opens on the site homes instead of on Europe. It centers on a single home at zoom 3, and fits several homes into view, clear of the map controls. When the URL filters to one source, the map opens on that source's home. With no homes, it opens on the whole world. MAP_DEFAULT_VIEW overrides all of these.
  • Removed the recursive chown over /app in the Dockerfile. Freed up around 280 MB from the image and builds faster.
  • The image build runs vite build without the TypeScript typecheck that bun run build adds. CI still typechecks the frontend.

Fixed

  • Requests logged while GeoMetrikks was still checking the log format at startup are no longer skipped. On a fresh install this was the first request written to an empty log file.
  • The map and the Geo Logs spatial preview say so when the browser cannot start WebGL2, which the map needs. They used to stay blank and log the error only to the browser console. The message includes the browser's own reason when it gives one. The rest of the page keeps working.
  • A pinned log format (LOGPARSER_LOG_FORMATS) no longer turns off access-log storage when the log file is still empty 60 seconds after startup. This hit fresh installs before the proxy wrote its first line, and lasted until a restart.
  • Log lines written while a GeoLite2 database refresh is applied are no longer lost.
  • A log rotation that happened while unread lines were still waiting in the old file is now detected. Before, GeoMetrikks could keep watching the renamed file and ingest nothing from that log until the next rotation.

Full Changelog: v0.19.0...v0.20.0

Don't miss a new geometrikks release

NewReleases is sending notifications on new releases.