This App provides the custom splunk search commands for IP address operations.
This will work in all Splunk Versions.
E.g:
* ip2cidr - returns IP CIDR for given 'ipaddress' & 'ipmask' fields. The command adds a new field "ipcidr" with CIDR range for the given ip address and netmask.
* iprange - returns FirstIP, LastIP, Netmask for given IP CIDR value
Syntax:
...| ip2cidr ipaddress, ipmask |table ipaddress ipmask ipcidr
...| iprange ipcidr | table ipcidr, firstIP, lastIP, netMask
INSTALLATION
-------------
Install this app on Splunk search head or search head cluster. This app is invisible. The splunk command "ip2cidr" will be available globally.
This will work in all Splunk Versions.