Alerting

How to write an alert based on percentage of traffic from a single IP?

timtron
New Member

If the following search shows the top 5 source IP's

host="1.1.1.1" firewall OUT=vNic_1 action_abbr=ACCEPT_ | top limit=5 SRC

How can I alert if a single IP is greater than 25% of the events?

0 Karma

woodcock
Esteemed Legend

Try this (save search as an alert):

host="1.1.1.1" firewall OUT=vNic_1 action_abbr=ACCEPT_ | top limit=5 SRC | where percent > 25
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...