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?

Labels (1)
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

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. 

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...