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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...