Date/time Functions
PantherFlow date/time functions
Last updated
Was this helpful?
Was this helpful?
panther_logs.public.aws_alb
| where p_event_time > time.ago(1d)panther_logs.public.aws_alb
| extend hoursToParse=time.diff('h', p_event_time, p_parse_time)
| extend minutesToParse=time.diff('m', p_event_time, p_parse_time)
| project hoursToParse, minutesToParsepanther_logs.public.aws_alb
| where p_event_time > time.now() - 1dpanther_logs.public.aws_alb
| where p_event_time > time.now() - time.parse_timespan('24h')panther_logs.public.aws_alb
| where p_event_time > time.parse_timestamp('2023-01-01T00:00:00')panther_logs.public.aws_alb
| where p_event_time > time.ago(1d)
| summarize count=agg.count() by bucket=time.slice(p_event_time, 10, 'm')
| sort bucket asc
| visualizepanther_logs.public.aws_alb
| where p_event_time > time.ago(1d)
| extend minuteEventHappened=time.trunc('m', p_event_time)
| summarize eventsPerMinute=agg.count() by minuteEventHappened