Assigning an aggregated event timestamp to @timestamp

Appreciate any help