This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tag=firewall action=deny | |
| stats count values(dst) by src | |
| eventstats avg(count) as avg_count | |
| eval standard_deviation=count/avg_count | |
| fields - count, avg_count | |
| search standard_deviation > 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stats count by user fqdn | |
| eventstats sum(count) as count_by_user by user | |
| eval percent=count/count_by_user | |
| table user, fqdn, percent, count, count_by_user | |
| sort - percent | |
| search count_by_user > 100 |