The Logbrook web UI is a separate app that talks to the Logbrook HTTP API. You use it to search and page through events, filter by facet, follow a live tail, look at index sizes and watch server metrics. The Logbrook server itself is unchanged: it doesn’t serve the UI, and it works the same with or without it.

How it works
The UI is a Node server (TanStack Start on Nitro) that serves the pages and acts as a backend for the browser, often called a BFF. The browser only ever talks to that server.
- The browser never sees a token. The UI server reads its Logbrook tokens from its environment when it starts, keeps them in memory, and adds the
Authorizationheader itself. Nothing is sent to the browser, logged or placed in a URL. - A BFF, not direct access. The Logbrook server sends no CORS headers, accepts only bearer tokens and doesn’t compress responses, so a browser can’t call it directly.
- A narrow proxy. Browser requests to
/api/lb/...are forwarded to Logbrook with the configured read token, only asGET, and only for the read endpoints: the index list and details, search, facets, histogram, live tail and/metrics. Ingestion is never reachable. - The admin token stays on the server. It is used only by server-side functions that list indexes with their sizes and create or delete indexes.
What a viewer can do follows from the tokens. Logbrook’s own source and index scopes still apply: a read token limited to some sources shows only those events.
The views
| View | What it does |
|---|---|
| Logs | Search an index over a time range, filter by level, service, logger, host, source, message and attributes, and open any event. See Explore logs. |
| Live Tail | Follow new events as they are ingested, with filters, a frozen view when you scroll up and automatic reconnects. See Live tail in the UI. |
| Indexes | List every index with readiness, retention and a size breakdown. With an admin token, create and delete indexes. See Indexes and metrics. |
| Ingest | An example curl for sending events, what the configured tokens allow, and Prometheus-based server metrics. The UI itself only reads. See Indexes and metrics. |
The command palette (Ctrl K or ⌘ K) and single-key shortcuts reach all of them. See Command palette and shortcuts.
What you need
- A running Logbrook server. See the quickstart.
- A Logbrook read token. The UI refuses to start without one.
- Optionally, a different admin token, for creating and deleting indexes.
Each release publishes the UI as a container image, ghcr.io/sandrinodm/logbrook-ui, next to the server image and with the same version. See Run the UI.