TUI that displays incoming JSON log messages, grouped by request id
  • Go 96.4%
  • Shell 3.6%
Find a file
2026-04-07 17:38:45 -06:00
bin add bin scripts 2026-04-07 09:15:32 -06:00
.gitignore add bin scripts 2026-04-07 09:15:32 -06:00
go.mod update the module 2026-04-07 17:26:49 -06:00
go.sum add bin scripts 2026-04-07 09:15:32 -06:00
LICENSE make it official 2026-04-07 16:27:46 -06:00
main.go show "to" key 2026-04-07 17:38:33 -06:00
README.md readme desc 2026-04-07 17:38:45 -06:00

sloggey

TUI for viewing json logs from go's log/slog package, based on the particular log keys I like to use.

# app that log entries as json objects.
$ bin/app
{"time":"2026-04-07T16:23:38.887834-06:00","level":"DEBUG","msg":"sql","q":"SELECT * FROM table...","t":32000}
{"time":"2026-04-07T16:23:38.888096-06:00","level":"WARN","msg":"start","addr":":8080","pid":54758}

# run them through sloggey
$ bin/app | path/to/sloggey