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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...