if the data source ip is ipv6 how setting mapping in the es 5.6.8 mapping ?
like this or not?
"ip": {
"type": "keyword"
},
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.
© 2020. All Rights Reserved - Elasticsearch
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.