This page IP field type | Elasticsearch Guide [8.11] | Elastic appears to confirm that a netmask on the end of an IP address is allowable when geocoding IP addresses, e.g. 192.168.0.0/16, however we are getting this error when geocoding:
"java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: '96.231.138.0/24' is not an IP string literal.")
Can you confirm what version of Elasticsearch you're using and where you're trying to provide the CIDR (e.g. an example PUT, GET, etc that show what you're running into)?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.