How to define a field in elasticsearch which is aggrigatable on kibana (ELK 5.0) <p>I've defined a field as an ip in the template and checked it is defined as ip in the relevant indexes.<br> But when I open the fields in kibana it appears as non searchable and non aggregatable (so I can't use it in the visualizer).<br> I've reloaded the fields several times but it didn't change.<br> Any help will be appreciated.<br> In the index mapping: GET myindex/_mapping </p> <pre><code>"properties": { "src": { "type": "ip" } } </code></pre> <p>In kibana I see the logs and I can search based on the src field.<br> The problem is just in the fields view and visualizer.</p>