VMware Cloud Community
rdaka
Enthusiast
Enthusiast

Is there a way to collect virtual machine logs using vRO vCenter plug-in ?

I would like to know if it is possible to collect virtual machine logs using vCenter plug-in API instead of connecting to the machine and export the logs.  Does VMware tools help in this situation.

Reply
0 Kudos
2 Replies
iiliev
VMware Employee
VMware Employee

Which file(s) do you want to download?

There are some API supported by vCenter plug-in that could help to download file(s) from a VM. Check documentation for VcGuestFileManager scripting class and its methods like initiateFileTransferFromGuest and downloadFile

Reply
0 Kudos
rdaka
Enthusiast
Enthusiast

Thank you. I will check VcGuestFileManager methods.

Reply
0 Kudos