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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...