Splunk Search

mutiple search


Hello everyone,

 i need solution for this.

my data :

userID=text123 , login_time="2024-03-21 08:04:42.201000", ip_addr=

userID=text123, login_time="2024-03-21 08:00:00.001000", ip_addr=

userID=text123, login_time="2024-03-21 08:02:12.201000", ip_addr=

userID=text123, login_time="2024-03-21 07:02:42.201000", ip_addr=


i want get data, userID="text123 " AND in the last 5 minutes AND if mutiple ip

i used join,map,append but not solved.please help for SPL this

Labels (1)
0 Karma


Try this - use your index and I assume that the event _time stamp is the login time.

index=bla userID=text123 earliest=-5m@m latest=@m
| stats dc(ip) as ips by userID
| where ips>1

If your events contain other info than just login details, then you may need to add login_time=* to the search

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...