Hello,
I have an issue with geo_point mapping, it does'nt apply ! geo_server_ip.location has a "number" type insted of "geo_point".
My logstash filter:
geoip {
add_tag => [ "GeoIP" ]
source => "server_ip"
target => "geo_server_ip"
}
my Elastic template:
"mappings": {
"logs": {
"properties": {
"geo_server_ip": {
"dynamic": true,
"type": "object",
"properties": {
"timezone": {
"type": "string"
},
"ip": {
"index": "not_analyzed",
"type": "ip",
"doc_values": true
},
"latitude": {
"type": "double"
},
"continent_code": {
"type": "string"
},
"city_name": {
"index": "not_analyzed",
"type": "string"
},
"country_code2": {
"type": "string"
},
"country_name": {
"index": "not_analyzed",
"type": "string"
},
"location": {
** "type": "geo_point"**
},
...
This is my fileds and mapping:
Any ideas about this case ?