Commands overview

Every command supports --help for full options:

loguro <command> --help

Setup & diagnostics

CommandDescription
loguro initInteractive setup wizard (auth → project → key → link → first-log examples)
loguro doctorHealth check: auth, backend, env, configured apps, all linked dirs, version

Querying logs

CommandDescription
loguro logsQuery logs with filters
loguro tailFollow new logs (poll)
loguro countCount logs (total or filtered)
loguro getFetch a single log by ID with full context
loguro distinctList unique values for a field
loguro timelineLogs around a specific log ID
loguro traceAll logs sharing a trace ID, in chronological order
loguro slowSlow requests above duration threshold
loguro sampleRandom sample of logs
loguro groupGroup logs by field
loguro replayReplay a window of logs as if streaming live, at adjustable speed
loguro investigateAI investigation of a log (uses your plan AI quota)

Visualizations

CommandDescription
loguro topTop N values for a field with horizontal bars (level, message, context.X)
loguro chartVolume over time as compact sparkline or chunky bars (--bars)
loguro analyticsAggregated dashboard: levels, daily timeline, top errors, endpoints
loguro healthProject health badge: error rate now vs previous, optional 24h trend
loguro diffCompare log patterns between two windows (new / spiked / dropped)

Local config

CommandDescription
loguro configManage app configurations (slug aliases)
loguro linkLink current dir to a slug or app
loguro unlinkRemove .loguro link

Auth

CommandDescription
loguro loginSave a PAT
loguro logoutRemove the saved PAT
loguro whoamiShow current user / token info

Account & projects

CommandDescription
loguro projectsList / create / rename / delete projects
loguro keysManage project ingestion keys (used by your SDK)
loguro tokensManage CLI tokens (PATs)
loguro usageCurrent month usage + plan caps
loguro billingSubscription, current plan, available plans

Alerts & notifications

CommandDescription
loguro channelsManage notification channels (webhook \| discord \| slack \| telegram)
loguro alertsManage project alerts
loguro integrationsConnect issue trackers (jira / linear / github) and message integrations (slack / discord / telegram)

Workflow helpers

CommandDescription
loguro pinPin recurring logs to track (marker auto-shown on lists)
loguro shareCreate / list / revoke public markdown shares of logs (single or multi-log)

Interactive mode

loguro logs --interactive       # or -i

Opens a TUI navigator over your logs with keyboard navigation, fuzzy search, multi-select, AI investigation, alert creation, sharing, and pinning — all wired to the same backend endpoints as the standalone commands.

KeyAction
↑↓ / jkNavigate
enterInspect a log
escBack
/Live fuzzy search (prefix = for exact substring)
spaceMulti-select rows
sShare selected as one markdown page
pBulk pin
cCopy all IDs
rRefresh
?Keybindings overlay
qQuit

In log detail:

KeyAction
eAI explain (light)
iAI investigate (deep, code-aware)
aCreate alert from this log (runs full alert wizard, returns)
pPin / unpin toggle (shows encounter count for recurring logs)
tShow all logs sharing the same trace ID
sCreate public share (URL auto-copied)
cCopy log ID
oOpen in web console
jToggle JSON-colored context

Pipe-friendly: without -i everything stays plain text streamable.

// related

See also