Splunk Search

how to search for event matching lookup table

7ryota
Explorer

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
Explorer

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
Explorer

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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...