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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...