accessing logs in ESXi/vCenter/VMs

Could I have a simple step by step guide to  access logs in ESxi 5.5, vCenter and VMs please.

Thanks.
cgeorgeisaacAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
The simple way is from vCenter Server, File > Export System Logs.

otherwise:-

ESXi 5.5, the logs are stored in /var/logs - you will need to login via SSH or from the console.

vCenter Server - the logs are stored

see this KB

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1021804

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2110014

VM logs are stored in the VM Folder, they are called vmware.log.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cgeorgeisaacAuthor Commented:
Thanks for the links.  I have the logs.
Could you recommend a specific program to enable me to open and read these files.
Some of the extensions are:  .log   .err  .conf  .local

Which folder should I be opening to see the meat of the log. (I see folders like bootbank,  commands, etc, json, proc, reconstruction, usr, var, vmfs, action.log reconstruct.sh   etc). I mean what does the other folders have?

I did open   /var/logs  and I see extensions like:   log, err.  which one will give me the  information of the errors.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
notepad, vi, notepad++

the logs are stored in *.log

all ESXi logs are stored in \var\logs, it might be easier to create a Syslog Server, where errors are sent to.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.