xo-cli VM logs
-
Hi,
I would like to know if there is a way to get the logs of my VMs from the xo-cli. I can't seem to find the command using the --list-commands and i can't find the namespace they belong too for the log.get command. -
What kind of logs exactly?
-
The logs under the Logs tab in the VM page of the web application. Mainly for the Shutdown, Start, Interupt , etc. type of events.
-
I think it's not called logs, it might be "events" if I remember correctly
-
Event doesn't return anything in the commands or in the objects(--list-objects). I can find 'message' in the full list of object which seems to be what I'm looking for but the only method associated with them is message.delete . The source code for the web app has a createGetObjectMessages function, but I don't know enough node to find the right RPC call that this generates in the end.
-
Ping @julien-f
-
> xo-cli --list-objects type=message \$object=<VM UUID> -
Thanks, that's exactly what I was looking for.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login