I've noticed that a lot of the beats default templates have IP fields as the keyword datatype. Since elasticsearch supports an ip datatype, which makes subnet mask filtering/searching really handy, I would think you would want to map these fields as type ip.
Is there a reason for loading it as a keyword type? I'm thinking about manually editing the template, but if there is a resiliency reason for not mapping as ip I would like to know.
Here are some examples:
filebeat iis access.server_ip access.remote_ip
filebeat apache2 access.server_ip access.remote_ip
packetbeat ip client_ip real_ip
An exception:
heartbeat's monitor.ip
thanks