Splunk Enterprise Security

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

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=IntrusionDetection.IDSAttacks where IDSAttacks.logsubtype=virus IDSAttacks.action=allowed groupby IDSAttacks.action IDSAttacks.logsubtype IDSAttacks.src IDSAttacks.dest IDSAttacks.user | rename IDSAttacks.* 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, srcip as the header which can be edited if needed since I don't know if I have to use IDSAttacks.src since I'm looking at datamodel fields.

Any help would be appreciated.

0 Karma