Skip to main content

Pod Logs

KubeVision streams container logs in real time directly to the browser. No log aggregation pipeline is required — it talks to the Kubernetes API Server's log endpoint over WebSocket.

Opening Logs

  1. Navigate to Workloads → Pods and click a Pod
  2. Select the Logs tab
  3. Logs begin streaming immediately from the selected container

Container Selection

For multi-container Pods, use the Container dropdown at the top of the Logs tab to switch between containers. The stream reconnects automatically on selection change.

Features

FeatureHow to Use
Real-time streamingLogs tail continuously via WebSocket — no manual refresh needed
Search / FilterType in the search box to highlight matching lines (case-insensitive)
Timestamp displayToggle the Timestamps switch to show/hide RFC3339 timestamps
Previous containerEnable Previous to view logs from the last terminated container instance
DownloadClick Download to save the current log buffer as a .log file
Pause / ResumeClick Pause to freeze the stream and scroll freely, then Resume to catch up

The search bar performs a live client-side filter on the buffered lines:

# Examples of search patterns
Error
OOMKilled
"connection refused"

Matched lines are highlighted in yellow. Non-matching lines are dimmed but not hidden, preserving context.

tip

To filter by log level, search for ERROR, WARN, or INFO. Most structured logging frameworks emit these tokens consistently.

Controlling Log Volume

OptionDefaultDescription
Tail lines100Number of historical lines loaded on open
Max buffer5,000 linesLines kept in memory; oldest are evicted when full

Adjust Tail lines in the dropdown next to the Container selector.

Previous Container Logs

If a container has restarted (e.g., after an OOMKill or crash), enable the Previous toggle to view the logs of the terminated instance. This is equivalent to:

kubectl logs <pod> -c <container> --previous