I have a CSV file that contains a list of CIDRs and IP address:
dest_ip
12.0.0.0/16
13.0.0.0/17
14.0.0.1
14.0.0.2
I want to compare the CIDRs/IPs to result set, and then get a count of each CIDR/IP.
index=proxy sourcetype=mysourcetype
The results should look like:
dest_ip
12.0.0.0/16 - 123,000
13.0.0.0/17 - 456,000
14.0.0.1 - 100
14.0.0.2 - 200
I'm not really sure how to do this and all my attempts so far have failed.
↧