Splunk Search

CIDR lookup with normal lookup- Can I add single IP's to the same lookup file/definition?

izzie123
Path Finder

Hello,

I have created a lookup definition for CIDR. The CIDR matching works just fine and I am able to whitelist the IPs in that particular subnet range.

However, I wanted to know if I can add single IP's to the same lookup file/definition(CIDR lookup) as well?

I want single IP matching in the same lookup table where I have added the IP subnet.

How to proceed about this?

Labels (2)
0 Karma
1 Solution

bowesmana
SplunkTrust
SplunkTrust

Add single IPs to the lookup as 

n.n.n.n/32

i.e. a CIDR range of 1

View solution in original post

bowesmana
SplunkTrust
SplunkTrust

Add single IPs to the lookup as 

n.n.n.n/32

i.e. a CIDR range of 1

Get Updates on the Splunk Community!

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 ...

Introducing the Splunk Community Dashboard Challenge!

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