Splunk Search

Splunk lookup table info and search

Splunk_rocks
Path Finder

Hello Splunkers,

Can you help me below case to build splunk search.

I have firewall data coming to index=firewall so i need to filter based on results from my external lookups fields IP as well matching domain name from the indexed data.

index=firewall | lookup url.csv | fields url | lookup domain.csv | fields domain | .. etc
any of the matching fields from indexed data.

0 Karma

dindu
Contributor

|Hi,

I assume you have common fields in url lookup and domain look up.
Please try out the below and let us know

 index=firewall 
| lookup url.csv  url  OUTPUT url,domain_index
| lookup domain.csv  domain as domain_index OUTPUT domain
 |table url,domain
0 Karma
Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...