Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to obtain VMWare ESXi log and store it in our local machine?

Can it be acheived using VMWare powerCLI?

( I hope in log file i can get what are all the guest machines were utilized and how long . Is it true?)

share|improve this question
You can get all that stuff via vCenter. – Chopper3 Jan 9 '12 at 9:05

Obtaining ESXi diagnostic logs can be done a couple different ways: Through the VI client, or through the API. The PowerCLI method is listed in the following KB article.

Regarding whether or not the guest machine utilization is in there, I'd need more info about what you are looking for.

share|improve this answer
I am junior admin in VMware. As of now i am only looking for couple of information. 1. Guest machine utilization. 2. Snapshots taken in host machine for the day. I don't know what are all the other things can be achieved by diagnosing the log. What experts mainly do with VMware logs? – Samselvaprabu Jan 10 '12 at 2:49
Do you know if you are using vCenter Server, or just ESXi? A good way to tell is to look at the license on the summary tab of the host in your vSphere client. – JakeRobinson Jan 10 '12 at 4:26
I am just using Free ESXi . I am not having vCenter. I think PowerCLi can still read information. – Samselvaprabu Jan 10 '12 at 6:22
Free ESXi does not include API access. API access is required for PowerCLI. – JakeRobinson Jan 17 '12 at 15:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.