clong / DetectionLab

Automate the creation of a lab environment complete with security tooling and logging best practices
MIT License
4.57k stars 978 forks source link

Fix Suricata query to sort by count desc #878

Closed dlee35 closed 1 year ago

dlee35 commented 1 year ago

The Top Suricata Network Alerts panel does not sort by count descending as suggested by the panel name. This PR adds | sort -count to correct that and adjusts values(src_ip) to values(src_ip) as src_ip to sorta clean up the column name.