Splunk Enterprise Security

SPL for Correlation search in enterprise security?

vikram1583
Explorer

index=email
| transaction mid icid
| stats count(recipient) as receipent_count by sender
| where receipent_count>100

I am using this in a correlation search but it is returning only sender information in fields but I want src_ip ,dest_ip and src_user can some one help me in modifying the search

0 Karma
1 Solution

woodcock
Esteemed Legend

Like this:

index=email
| transaction mid icid
| stats count(recipient) as recipient_count BY sender src_ip dest_ip src_user
| where recipient_count>100

View solution in original post

0 Karma

woodcock
Esteemed Legend

Like this:

index=email
| transaction mid icid
| stats count(recipient) as recipient_count BY sender src_ip dest_ip src_user
| where recipient_count>100
0 Karma

ashajambagi
Communicator

Hi @vikram1583 ,

Stats command filter out the fields include the required fields in the stats or you can try using eventstats

index=email 
| transaction mid icid 
| stats count(recipient) as receipent_count values(src_ip) values(dest_ip) values(user) by sender 
| where receipent_count>100
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...