Splunk Enterprise Security

How do I combine tstats and InputLookup in an ES Correlation Rule

SMWickman
Explorer

I'm looking to add an input lookup to a tstats Datamodel correlation search within Splunk Enterprise Security to tune out certain known scanning src_ips.

Existing search:
| tstats summariesonly=t count from datamodel=Intrusion_Detection.IDS_Attacks where IDS_Attacks.log_subtype=virus IDS_Attacks.action=allowed groupby IDS_Attacks.action IDS_Attacks.log_subtype IDS_Attacks.src IDS_Attacks.dest IDS_Attacks.user | rename IDS_Attacks.* AS *

How would I add an input lookup with 10 IPs that would fit into the context of this search and allow me to continue using tstats against the datamodel?

The lookup is just one column, src_ip as the header which can be edited if needed since I don't know if I have to use IDS_Attacks.src since I'm looking at datamodel fields.

Any help would be appreciated.

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 ...