Splunk Search

How to write a search where the count of an event from the same source exceeds 2 in an hour?

shellnight
Explorer

I want to create a search query to search a specific ids event from a source to destination wherever the count of the event from the same source exceeds 2 in an hour. Please advise

Field available are

source
destination
ids event

Tags (3)
0 Karma

lguinn2
Legend

Try this

yoursearchhere
| stats count by ids source
| where count > 2

somesoni2
Revered Legend

Could you provide some example output you are looking for?

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...