VMware Cloud Community
RajuVCP
Hot Shot
Hot Shot

How can i get ESXi log of specific date

Hi All,

Is there a way to get esxi log of specific date.

example if i want to collect last months 15th August esxi logs.

Appreciate for Help

Raju Gunnal VCP 4, VCP 5, VTSP 4, VTSP 5, ITIL V3 http://www.techtosolution.com
Reply
0 Kudos
5 Replies
SatyS
Hot Shot
Hot Shot

You can actually grep for the particular date.

Like cat <log location> | grep 2014-08-15* .This will list all logs of 15th August.

If you find this useful,please mark the answer as correct/helpful

Regards,
SatyS
http://myvirtuallearning.wordpress.com/

smithar
Enthusiast
Enthusiast

cat <logname> | egrep "^2014-08-15" . This will search for log entries which starts with this date.

If you found this answer useful, please consider the use of Helpful or Correct buttons to award points ------------------------------------------------------------------------------------------------------------------------------- Thanks
RajuVCP
Hot Shot
Hot Shot

Do we have to run it in powercli or esxi console?

Raju Gunnal VCP 4, VCP 5, VTSP 4, VTSP 5, ITIL V3 http://www.techtosolution.com
Reply
0 Kudos
smithar
Enthusiast
Enthusiast

On the ESXi console

If you found this answer useful, please consider the use of Helpful or Correct buttons to award points ------------------------------------------------------------------------------------------------------------------------------- Thanks
Reply
0 Kudos
SatyS
Hot Shot
Hot Shot

Please consider marking correct/helpful answer as this thread can be made useful for others in community.

If you find this useful,please mark the answer as correct/helpful

Regards,
SatyS
http://myvirtuallearning.wordpress.com/

Reply
0 Kudos