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.