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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...