Log Streaming
Live container log streaming in the browser.
KubeWatch streams container logs directly to your browser using Server-Sent Events (SSE). No log ingestion, no storage, the stream is a live proxy from the agent to the dashboard.
Opening log streams
You can open a log stream from two places:
- Container detail, click any container in the Containers list → Logs tab
- Kubernetes Pod detail, click any pod in the Kubernetes view → Logs tab → choose a container within the pod
The stream starts immediately and shows the most recent output followed by new lines as they arrive.
Controls
| Control | Description |
|---|---|
| Search | Filter displayed lines by text substring (client-side, does not affect the stream) |
| Auto-scroll | Toggle automatic scrolling to the bottom as new lines arrive (on by default) |
| Wrap lines | Toggle line wrapping for long log lines |
| Clear | Clear the visible log buffer |
| Pause / Resume | Pause the stream without disconnecting; buffered lines appear on resume |
Log level filtering
If your application writes structured JSON logs, KubeWatch parses the level field and adds color coding:
| Level | Color |
|---|---|
debug | Gray |
info | White |
warn / warning | Yellow |
error | Red |
fatal / critical | Bold red |
Plain-text logs are displayed without level parsing.
Limitations
- Buffer size: The browser displays a maximum of 500 lines at a time. Older lines scroll out of view as new ones arrive. This is a display limit only, the stream itself is not truncated.
- No persistence: KubeWatch does not store logs. You can only view logs from currently-running containers. If a container has exited, the Logs tab shows the last available output but will not update.
- One stream at a time per tab: Each browser tab maintains one active log stream. Opening a second container's logs in the same tab closes the first stream.
- Browser support: All modern browsers (Chrome, Firefox, Safari, Edge). Internet Explorer is not supported.
Downloading logs
Use the Download button to save the current log buffer (up to 500 lines) as a .txt file. For larger log captures, use the Docker CLI directly on the host:
docker logs my-container > container.log 2>&1
Or for Kubernetes:
kubectl logs my-pod -n my-namespace > pod.log