Splunk Search

Splunk Lookup overide

sumitkathpal
Explorer

Hi Team,

we have lookup file which is doing enrichment however we have define the lookup using CIDR values of ip address and working well.
below is lookup file working well
ip mac nt_host dns owner priority lat long city country bunit category
10.228.80.0/24 is category as workstation

now we have ip 10.228.80.50 which we need to categorized as laptop , how we can do that , right now everything is coming as workstation

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Have you tried adding "10.228.80.50 laptop" to the lookup file before the "10.228.80.0/24" entry? The first match in the file should prevail.

---
If this reply helps you, Karma would be appreciated.
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,  ...