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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...