CIDR query on ip range [2nd try]

This is original question which I posted sometime back and was closed due to no reply or non-activity.

Any pointers would help.

With "ip" data type, it does not accept ip address with prefix length(CIDR), but query allows CIDR style.
With "ip_range", it accepts ip address with prefix length(CIDR), but query does not CIDR style.

I need to map ip addresses of the form "10.1.1.1" or "10.1.1.0/16" from a json field to a elastic data type and want to support query in both forms 10.1.1.1 or 10.1.1.0/8 respectively.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.