Last active
October 30, 2015 14:49
-
-
Save yjaaidi/8844766 to your computer and use it in GitHub Desktop.
Splunk Search Query - Detect Above Average Activity Using Standard Deviation
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment