Hello looking for way to create an alert based off the difference between times and only execute if the time is greater than or equal to x mins. Code: index=net* sourcetype=pan:*
action="blocked" OR action="failure"
|stats count min(_time) as firstTime
max(_time) as lastTime
by src_ip,dest,dest_port,rule,tag,log_subtype,transport |where count >= 10
|eval diff=lastTime-firstTime
```|eval diff=strftime(diff, "%d %H:%M:%S") ```
|eval diff=strftime(diff, "%M:%S")
| `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)` Regards,
... View more