Splunk Search

how to search for event matching lookup table

7ryota
Engager

hi, i a total newbie

i need to do a search in splunk matching the domain in my lookup table (master_lookup.csv)

my table have the columns

indicators, published_date , last_update, labels

my index is below

((index=bcoat_logs AND sourcetype=bluecoat:proxysg:access:file ) OR (index=nanolog_906062_zscaler AND sourcetype=zscalernss-web))

how do i have the output when it match the indicators

my desired output will include
_time, indicators, published_date , last_update, labels

Labels (1)
0 Karma

7ryota
Engager

indicators

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
((index=bcoat_logs AND sourcetype=bluecoat:proxysg:access:file ) OR (index=nanolog_906062_zscaler AND sourcetype=zscalernss-web))
| lookup master_lookup.csv indicators
| table _time, indicators, published_date , last_update, labels
0 Karma

7ryota
Engager

the indicator is extract match?

connect.facebook.net is inside my csv file

will it be a able to search for facebook.net

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

It depends on your lookup definition - there are some advanced options available

ITWhisperer_0-1646211104242.png

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

What field or fields are you using from your index to lookup data in your lookup table?

0 Karma
Get Updates on the Splunk Community!

Happy CX Day to our Community Superheroes!

Happy 10th Birthday CX Day!What is CX Day? It’s a global celebration recognizing innovation and success in the ...

Check out This Month’s Brand new Splunk Lantern Articles

Splunk Lantern is a customer success center providing advice from Splunk experts on valuable data insights, ...

Routing Data to Different Splunk Indexes in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. The OpenTelemetry project is the second largest ...