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!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...