- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to monitor the connection status of some network device, and I want to trigger an alert which the same source IP address access the device greater than 1000 per hour. How can I achieve this requirement?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
![SplunkTrust SplunkTrust](/html/@E48BE65924041B382F8C3220FF058B38/rank_icons/splunk-trust-16.png)
The name of your ip address field might be different but the below example would work if the field is called ip:
... _index_earliest=-65m _index_latest=-5m | stats count by ip | where count>1000
I added index earliest/latest so the search has a 5 minute lag. This will allow for data that arrives late or with time skew to be identified too.
Schedule it to run every hour and alert when results are greater than 0
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
![SplunkTrust SplunkTrust](/html/@E48BE65924041B382F8C3220FF058B38/rank_icons/splunk-trust-16.png)
The name of your ip address field might be different but the below example would work if the field is called ip:
... _index_earliest=-65m _index_latest=-5m | stats count by ip | where count>1000
I added index earliest/latest so the search has a 5 minute lag. This will allow for data that arrives late or with time skew to be identified too.
Schedule it to run every hour and alert when results are greater than 0
![](/skins/images/5D2DD17C284106BFBF80528D01D8AA1A/responsive_peak/images/icon_anonymous_message.png)