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 (1)
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!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...