Splunk Search

How to determine the alarm alarm when the source IP reaches the destination IP more than 100 times?

andynina
Engager

index="*"  tag=fw action=blocked
| stats values(dest) as dest by src
| eval dest = dest
| where dest > 10

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @andynina,

if you want to trigger your alert when an IP try reaches more than 100 distinct IPs and it's blocked, you could run:

index="*" tag=fw action=blocked
| stats dc(dest) AS dest BY src
| where dest>10

 if instead you want to check the number of tries, you could run:

index="*" tag=fw action=blocked
| stats count BY src
| where count>10

Ciao.

Giuseppe

Tags (1)
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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