Network Security · Detection and defense
Suricata Detection Filter
The detection_filter option counts rule matches by a chosen key and time window, then alerts after its initial threshold. by_src groups by source IP. by_dst groups by destination IP. It does not by itself count distinct hosts or ports, and a wrong key can miss the intended pattern.