ES|QL LATEST function Returns the latest value of a field sorted by timestamp. - field - The search field An alias for LAST where the sort field (the second parameter) is implicit and is set to @timestamp.