The ipv6 question

if the data source ip is ipv6 how setting mapping in the es 5.6.8 mapping ?
like this or not?

    "ip": {
      "type": "keyword"
    },

Why not ip ?

See https://www.elastic.co/guide/en/elasticsearch/reference/5.6/ip.html

OK i find

PUT my_index
{
"mappings": {
"my_type": {
"properties": {
"ip_addr": {
"type": "ip"
}
}
}
}
}

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