Visualizations

Five commands render visual summaries directly in the terminal. All support --json for piping.

top

Top values for a field as horizontal bars with percent.

loguro top level                              # last 24h by default
loguro top level --from 7d
loguro top message -l error -n 20             # top 20 error messages
loguro top context.service --from "3 days ago"
loguro top context.endpoint -l error          # problematic endpoints
loguro top message --json | jq '.values[].value'

chart

Volume over time — sparkline by default, chunky bars with --bars.

loguro chart                                  # last 24h
loguro chart --bars                           # chunkier bar chart with axis
loguro chart -l error --from 7d --bars
loguro chart --notLevel heartbeat --bars      # exclude noise
loguro chart --json | jq '.buckets[].value'

analytics

Aggregated dashboard: levels, daily timeline, top errors, endpoints.

loguro analytics                              # last 7d
loguro analytics --from 30d -l error
loguro analytics --json | jq '.byLevel'

health

Project health badge — error rate last 20min vs previous 20min, with a status of operational / degraded / incident. Add --trend for a 24h error-rate and volume sparkline.

loguro health                                 # quick status check
loguro health --trend                         # adds 24h error-rate + volume sparklines
loguro health --json | jq '.status'           # 'operational' | 'degraded' | 'incident'

diff

Compare log patterns between two windows: which patterns are new, which spiked, which dropped.

loguro diff yesterday                         # baseline yesterday vs current view
loguro diff 2-days-ago yesterday              # explicit two-window
loguro diff "last monday" "today"             # natural language windows
loguro diff yesterday --spike 100 --drop 30   # tighter thresholds
loguro diff yesterday --json | jq '.patterns[] | select(.status=="new")'
FlagDescription
--spike <pct>Threshold above which a pattern is flagged as spiked
--drop <pct>Threshold below which a pattern is flagged as dropped
// related

See also