Archive

Auto Lookup CIDR

Explorer

I have created a csv lookup file that looks like this
computerip Sitename
10.89.64.0/24 Test Site

Then I went through set up a auto lookup and lookup definitions and set the permissions to global.
In the Match Type I put CIDR(computerip)

When I run the code

| makeresults | eval ip="10.89.64.11" | lookup fultonip.csv computerip as ip OUTPUT SiteName | table ip SiteName

I get no results.
I am not sure what I am doing wrong. Any help would be appreciated.

Tags (1)
0 Karma
1 Solution

SplunkTrust
SplunkTrust

Because you are referencing the filename.csv that is not a lookup definition. You must use the definition name to get the lookup definition features.

View solution in original post

SplunkTrust
SplunkTrust

Because you are referencing the filename.csv that is not a lookup definition. You must use the definition name to get the lookup definition features.

View solution in original post