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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...