Skip to content
Get started

Stream instance logs (SSE)

get/instances/{id}/logs

Streams instance logs as Server-Sent Events. Use the source parameter to select which log to stream:

  • app (default): Guest application logs (serial console)
  • vmm: Cloud Hypervisor VMM logs
  • hypeman: Hypeman operations log

Returns the last N lines (controlled by tail parameter), then optionally continues streaming new lines if follow=true.

Path ParametersExpand Collapse
id: string
Query ParametersExpand Collapse
follow: optional boolean

Continue streaming new lines after initial output

source: optional "app" or "vmm" or "hypeman"

Log source to stream:

  • app: Guest application logs (serial console output)
  • vmm: Cloud Hypervisor VMM logs (hypervisor stdout+stderr)
  • hypeman: Hypeman operations log (actions taken on this instance)
Accepts one of the following:
"app"
"vmm"
"hypeman"
tail: optional number

Number of lines to return from end

Stream instance logs (SSE)
curl http://localhost:8080/instances/$ID/logs \
    -H "Authorization: Bearer $HYPEMAN_API_KEY"
Returns Examples