We are creating rule "Brute force Attack" in ELK with the condition as mentioned below:
if "Invalid" in [tags] {
throttle {
before_count => 5
after_count => 5
period => 86400
key => "%{src_ip}"
add_tag => "throttled"
}
}
what does the parameter "period=>86400" indicate here, it is that if there are 5 events from the same source IP, the rule will not trigger for the next 24 hours
OR
if 5 events occur in a time frame of 2 mins, the rule will trigger.
Which one holds true.? We are looking for second one...with no repititions in the next 24 hours.
Thanks
/Praveen