VMware Cloud Community
fixitchris
Hot Shot
Hot Shot

Viewing Server Logs

Here is a preliminary scrip to show the 'message' server log in a datagrid.

Here are some improvements I would like suggestions on:

- Display splash screen while log is loading

- Do not load entire log on n + 1 passes

- Figure out different log entry sources and parse out date and source to its own columns

- Filter messages from logs

- Binding string array without iterating entries...

Tags (2)
Reply
0 Kudos
2 Replies
admin
Immortal
Immortal

Some logs are not very well behaved. vmkwarning comes to mind, on one of my systems it seems to be growing without bound which means that get-log vmkwarning will never return. I tried running your script and ran into that problem.Might be worthwhile to just get the last hundred or so entries.

Reply
0 Kudos
fixitchris
Hot Shot
Hot Shot

Thanks for the heads up.

Reply
0 Kudos