Cloning/Creating A detection ES8
| from datamodel:"Authentication"."Failed_Authentication"
| bin _time span=5m
| stats values(tag) as tag,
dc(user) as user_count,
values(user) as users,
dc(dest) as dest_count,
count by app, src, _time
| where count >= 6
| iplocation src
| table _time app src Country users user_count dest_count countLast updated