- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SIEMStudent
Path Finder
11-18-2021
02:13 AM
Hi guys,
I have a doubt regarding the mapping of connection from the same source IP to different destination IP.
In my query, I have to check if the same source reach more than 300 different destination IP.
Usually, If I had to report connection with source ip which appear more than 300 times, I know I can to write:
|stats count src_ip as source by source
|where count > 300
But what about if I have to check the query requirements?
It shuold be something like:
|stats count src_ip as source, dest_ip as destination by source
|where destination > 300
?
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
scelikok

SplunkTrust
11-18-2021
03:50 AM
Hi @SIEMStudent,
You can try below;
| stats dc(dest_ip) as dest_count by src_ip
| where dest_count > 300
If this reply helps you an upvote and "Accept as Solution" is appreciated.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
scelikok

SplunkTrust
11-18-2021
03:50 AM
Hi @SIEMStudent,
You can try below;
| stats dc(dest_ip) as dest_count by src_ip
| where dest_count > 300
If this reply helps you an upvote and "Accept as Solution" is appreciated.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SIEMStudent
Path Finder
11-18-2021
04:57 AM
Thank you very much!
