Hi,
I am trying to query the esx logs for warnings and remove duplicates of the same error to limit what s returned. i am stating with removeing everything after the date so i can do a -unique hoping that will limit the returns. i was wondering ho i could split the following example and keep everything after the first space no mate what the data is?
So this
2018-01-24T20:01:37.652Z cpu5:33394)NMP: nmp_ResetDeviceLogThrottling:3349: last error status from device naa.00c00d00f00t00h00y00w00q repeated 2 times
Would look like this
cpu5:33394)NMP: nmp_ResetDeviceLogThrottling:3349: last error status from device naa.00c00d00f00t00h00y00w00q repeated 2 times
Or if there are any other ideas to query esx logs, return errors and remove the duplicates returned that would be very helpful.
Thanks for any assistance