Skip to content

1ctl machine logs

Fetch machine boot, Talos, and Kubernetes logs.

1ctl machine logs <machine-id-or-name>
Argument Required Variadic
machine-id-or-name Yes No
Flag Type Required Default Description
--source array No — Log source: siderolink, talos, kubernetes. Repeatable.
--tail integer No 100 Number of lines to fetch
--since string No — Fetch logs since duration or timestamp, e.g. 10m, 1h
--filter string No — Text filter for returned log lines
--component array No — Component filter. Repeatable.
--previous boolean No false Include previous container logs when available
--help, -h boolean No — Show help
Terminal window
1ctl machine logs my-machine --source kubernetes --tail 50 --since 1h