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.


Introducing Unified TDIR with the New Enterprise Security 8.2

Read the blog
Get Updates on the Splunk Community!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...