Getting Data In

How to search for blocked dns/urls in my logs?

waJesu
Path Finder

I have created a lookup table for the blocked dns/url. I want to see if there are anywhere in my logs or in my environment. May you help with a query. For example if I have example.net on my lookup table what query can I use that returns all logs with example.net?

Tags (2)
0 Karma

inventsekar
SplunkTrust
SplunkTrust

Hi @waJesu ...

Considering your lookup file name as "yourfilename.csv", when you run this, do you get the whole lookup file?
| inputcsv yourfilename.csv

may i know if you have done this task - enriching data with a CSV lookup file link

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma

waJesu
Path Finder

Yes it returns the whole table. What I need now is the query that returns results if any of the contains of the lookup table is present in the logs.

Tags (2)
0 Karma

inventsekar
SplunkTrust
SplunkTrust

Hi @waJesu 

you should give us some sample logs and the lookup table few lines sample.. then only SPL can be created easily. 

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma
Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

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