Reporting

how to create report/alert with repeating same ip address

gijoesplunk
New Member

I have a threatid from firewall with IP address information. and want to ask is it possible to create report/alert for the repeating same ip address after 7 days without manually input the ip address?

Tags (1)
0 Karma

sundareshr
Legend

You could try something like this and alert if count>0

... earliest=-7d@d | stats count as occurrences by ip | where occurrences>(enter your threshold number here)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

This should get you started.

index=foo threatid=bar | bin span=7d _time | stats count by ipaddress | where count > 1
---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...