Hello, Maybe a little late for the main post, but for the others who launch here. The best solution is to use the timestamp for sorting : # only if your _time is not native and format is not timestamp unix or in ISO date (YYYY-mm-dd HH:MM:SS)
|eval time=strptime(_time,"my_format_date") and dedup the event with the column to be unique. For the exemple : |dedup appId sortby -_time You will have the latest event/row for the appId If you want to deduplicate with the "name" in addition, do this : |dedup appId name sortby -_time For more documentation : https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Dedup
... View more