Hi Chroniclers
I have a search with log_types, hostnames, users, serial#s. I'm creating time buckets by minute using this:
$date = strings.concat(timestamp.get_date(metadata.event_timestamp.seconds)," ", timestamp.get_hour(metadata.event_timestamp.seconds),":",timestamp.get_minute(metadata.event_timestamp.seconds),":00")
In the stats aggregation search output I want to group by
match:
$date, $logs, $host, $user, $serial
and order by max(time)
I'm struggling to do this.
I also noticed when I use the pivot tab in SIEM search results, I get an error message that Pivot can't use metadata time in aggregation functions 😞
(image)
thoughts?