![Elasticsearch 7.0 Cookbook(Fourth Edition)](https://wfqqreader-1252317822.image.myqcloud.com/cover/645/36698645/b_36698645.jpg)
上QQ阅读APP看书,第一时间看更新
Mapping an IP field
Elasticsearch is used in a lot of systems to collect and search logs, such as Kibana (https://www.elastic.co/products/kibana) and LogStash (https://www.elastic.co/products/logstash). To improve search when using IP addresses, Elasticsearch provides the IPv4 and IPv6 type that can be used to store IP addresses in an optimized way.