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!

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...

Get ready to show some Splunk Certification swagger at .conf24!

Dive into the deep end of data by earning a Splunk Certification at .conf24. We're enticing you again this ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Now On-Demand Join us to learn more about how you can leverage Service Level Objectives (SLOs) and the new ...