Splunk Search

If there are multiple results in field2, for one value of field2 within a time interval

jkw117
Observer

So what I'm attempting to do,  is I have a list of user, IP, city, state, country, time. 

I want to alert if I see a user on two different IP's within a 5-15? minute (short period of time) interval.

Any suggestions?  

 

Labels (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Perhaps this will help. Run it once per minute.

index=foo earliest=-5m
| stats count, values(*) as * by user
| where count > 1

 

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...