kraft cloud instance logs
Get console output of an instance.
kraft cloud instance logs [FLAG] UUID|NAME
Examples
# Get all console output of a instance by UUID$ kraft cloud instance logs 77d0316a-fbbe-488d-8618-5bf7a612477a
# Get all console output of a instance by name$ kraft cloud instance logs my-instance-431342
# Get the last 20 lines of a instance by name$ kraft cloud instance logs my-instance-431342 --tail 20
# Get the last lines of a instance by name continuously$ kraft cloud instance logs my-instance-431342 --follow
# Get the last 10 lines of a instance by name continuously$ kraft cloud instance logs my-instance-431342 --follow --tail 10
Options
-f, --follow Follow the logs of the instance every half second -h, --help help for logs --no-prefix When logging multiple machines, do not prefix each log line with the name -n, --tail int Show the last given lines from the logs (default -1)
Options inherited from parent commands
--metro string Unikraft Cloud metro location --token string Unikraft Cloud access token
Aliases
The kraft cloud instance logs
command can also be run as:
log
See Also
kraft cloud instance
: Manage instances