VMware Cloud Community
thinkgrid
Contributor
Contributor

reading esxi logs

Hi

When I look at the ESXi logs I find them very intimidating as there is so much text

Was told by Support that I should be able to get a list of errors by using grep | command

Can anyone elighten me on how to go on about finding errors on a ESXi log. If there is a appliance or free software that does it for me that would be awesome

Thanks

Petrit

0 Kudos
1 Reply
mwpreston
Hot Shot
Hot Shot

you can use the grep command, but you will need to know what exactly it is you are looking for....

IE

grep "ERROR" /var/log/hostd.log  - this will return every line in the hostd.log that contains ERROR

or you can grep all log files by using * and -r for recursive

grep -r "error" /var/log/*

Other options you could syslog to either vMA or any syslog appliance, or use splunk or some kind of log file parser to search...

Hope this helps.