Splunk Enterprise Security

Search domain in lookup

f_666dhn
Explorer

I have lookup file bad_domain.csv

baddomain.com
baddomain2.com

baddomain3.com

 

Then i want to search from proxy log, who people connect to bad domains in my lookup list. But include subdomains.

Example:

subdo1.baddomain.com
subdo2.baddomain.com
subdo1.baddomain2.com

Please help, how to create that condition in spl query?

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Change your lookup to have * at the beginning e.g. *baddomain.com then change / create the definition for the lookup to do WILDCARD searches

0 Karma
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...

[Live Demo] Watch SOC transformation in action with the reimagined Splunk Enterprise ...

Overwhelmed SOC? Splunk ES Has Your Back Tool sprawl, alert fatigue, and endless context switching are making ...

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...