KRAFT-CLOUD-INSTANCE-LOGS(1)

πŸ“¦ version 0.12.16, in nixos 26.05, nixpkgs unstable

πŸ’… kraft-cloud-instance-logs πŸ’…

okay so bestie, welcome to the KraftKit CLI(1) manual page for kraft-cloud-instance-logs. This is the lil' command that gets you the console output of instances, and we're gonna read it together like a very technically gifted group chat. 🫢

🌸 NAME 🌸

kraft-cloud-instance-logs β€” Get console output of instances. That's the whole name, that's the whole mission. ✨

✨ SYNOPSIS ✨

kraft cloud instance logs [FLAG] UUID|NAME

Translation: you call kraft cloud instance logs, optionally with a FLAG, and then you hand it either a UUID or a NAME. Iconic. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Get console output of an instance.

That's it. You point at an instance, and the console output comes back to you. No cap, no secret extra steps in this section. 🫢

πŸŽ€ OPTIONS πŸŽ€

Here are the flags, bestie. Each one is doing exactly what it says on the label:

  • -f, --follow[=false] β€” Follow the logs of the instance every half second. Yes, every half second. It is committed to the bit. πŸ‘€
  • -h, --help[=false] β€” help for logs. The classic "what do I do here" flag, but for this command. 🫢
  • --no-prefix[=false] β€” When logging multiple machines, do not prefix each log line with the name. So in that multi-machine situation, no name tags on the lines. 🏷️
  • -n, --tail=-1 β€” Show the last given lines from the logs. The default is -1, right there in the flag. πŸ“

🧬 OPTIONS INHERITED FROM PARENT COMMANDS 🧬

These come from the parent command, so they're part of the vibe too:

  • --allow-insecure[=false] β€” Allow insecure connections to the Unikraft Cloud API. This one is a little spicy, so don't pretend you didn't see the word "insecure". πŸ”₯
  • --metro="" β€” Unikraft Cloud metro location. Empty string is the default, right there in the quotes. 🌈
  • --token="" β€” Unikraft Cloud access token. Also empty string by default. πŸ”‘

🧚 EXAMPLES 🧚

Example time, and these are verbatim β€” copy/paste with confidence:

# 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

Obsessed with how clean that is. ✨

🌟 SEE ALSO 🌟

kraft-cloud-instance(1) β€” go hang out with the parent page when you're done here. πŸ’–

πŸ“œ HISTORY πŸ“œ

Official lore from the page: 1-Jan-1980 Auto generated by KraftKit. Not me being dramatic β€” that's literally it. πŸ’€


This lil' page is brought to you by KraftKit Documentation, the Jan 1980 date, and KraftKit CLI(1) β€” mwah πŸ’‹

πŸ“¦ where this page comes from