使用
summarize arg_max(Heartbeat, *) by ComputerName
datatable(Id:int, ComputerName:string, Heartbeat:datetime)
[
1, 'DESKTOP-1', datetime(2020.02.01 23:32:31),
2, 'DESKTOP-2', datetime(2020.02.01 13:32:11),
3, 'DESKTOP-11',datetime(2020.02.01 22:32:00),
4, 'DESKTOP-2', datetime(2020.01.23 21:32:11),
5, 'DESKTOP-4', datetime(2020.02.01 22:32:11),
6, 'DESKTOP-2', datetime(2020.01.11 09:32:11),
]
| summarize arg_max(Heartbeat, *) by ComputerName