Replay

loguro replay walks through a historical window of logs as if it were happening live, with a density chart at the top. Useful for re-watching incidents at speed.

loguro replay                                       # last 5min @ 2x
loguro replay --from 1h --speed 10x                 # last hour at 10x speed
loguro replay --from "yesterday 14:00" --to "yesterday 15:00"
loguro replay -l error --instant                    # just walk through with deltas
loguro replay --from 24h --speed 50x                # gap-compression auto-skips quiet stretches
loguro replay --from 24h --no-compress-gaps         # disable gap compression

Flags

FlagDescription
--from <when>Start of the replay window (relative shorthand, ISO date, or natural language). Default: 5m
--to <when>End of the window. Defaults to “now”
--speed <Nx>Playback speed multiplier (e.g. 2x, 10x, 50x, or max). Default: 2x
--instantSkip real-time pacing — just print logs sequentially with relative delta annotations
--compress-gaps / --no-compress-gapsToggle automatic skipping of quiet stretches. Enabled by default. Skipped automatically when --instant or --speed=max.
--no-show-deltasHide the +Xs relative time deltas between logs
--show-contextPrint log context for each entry
--with-idPrint log ID after each message
--fullDon’t truncate long messages

Filtering

Standard query and filter flags work — -l, -q, -c, --notLevel:

loguro replay -l error
loguro replay -q 'level:error context.service:payments'
loguro replay --notLevel heartbeat                  # exclude heartbeats from the window

Time inputs

--from and --to accept the same time formats as the rest of the CLI: 30m, 24h, ISO dates, or natural language via chrono-node ("yesterday 14:00", "3 days ago").

// related

See also