Hi,
The 'BrowseDiagnosticLog' API accepts four parameters -
i) MOR to HostSystem (optional), ii) key (mandatory), iii) start (optional), iv) lines(optional)
I am able to use the 'BrowseDiagnosticLog' API when directly logged on to an ESX/ESXi server to retrieve log files from the host system for corresponding keys - . (I do not have to provide the MOR, since I am querying self)
But when logged on to a vCenter server, I wasunder the impression that if we need to retrieve log files belonging to a host system, then just by providing the MOR of that host system to 'BrowseDiagnosticLog' API, it will be able to fetch the log files for the corresponing host. But this does not seem to happen.
Any idea if it is possible to retrieve the log files of host via vCenter?
Any help much appreciated!
Thanks,
Damodar Shanke