Log explorer
Search, filter and inspect log lines.
infowebRequest completed GET /v1/projects 200
errorbillingPayment gateway timeout after 10s
infoapiRequest completed GET /v1/projects 200
infowebRequest completed POST /v1/builds 201
infowebRequest completed POST /v1/builds 201
infoworkerRequest completed GET /v1/projects 200
infoapiRequest completed POST /v1/builds 201
infobillingRequest completed POST /v1/builds 201
infoapiSession refreshed for user 91
infoapiRequest completed GET /v1/projects 200
infobillingRequest completed POST /v1/builds 201
errorapiPayment gateway timeout after 10s
warnwebSlow query took 1.8s on builds table
debugapiCache hit for key project:482
infoworkerRequest completed GET /v1/projects 200
infobillingRequest completed POST /v1/builds 201
infoworkerRequest completed GET /v1/projects 200
errorworkerPayment gateway timeout after 10s
infoworkerRequest completed GET /v1/projects 200
infoworkerRequest completed GET /v1/projects 200
infowebRequest completed GET /v1/projects 200
When to use
- Debugging a service.
When not to use
- Logs are not structured.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/log-explorer
Adds its 7 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
LogExplorer
4 props
PropTypeDefault
lines *readonly LogLine[]—
bucketsnumber40
heightnumber360
classNamestring—
Keyboard
- ↑
- Moves to the previous item or value.
- ↓
- Moves to the next item or value.
- PageDown
- Moves by a larger step, or to the next page.
- PageUp
- Moves by a larger step, or to the previous page.
- Home
- Jumps to the first item or the minimum.
- End
- Jumps to the last item or the maximum.
- Escape
- Closes or cancels, then returns focus to where it came from.
Accessibility
It exposes group, listbox, option and status semantics, with aria-label, aria-hidden, aria-pressed, aria-activedescendant and aria-selected kept in step with state. Changes that matter are announced through a live region.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/log-explorer.mdThe index of every part is at /llms.txt.