Hey i have loaded json template store geo location but geo co-ordinates show following error
No Compatible Fields: The "filebeat-*" index pattern does not contain any of the following field types: geo_point
my json template
{
"mappings": {
"_default_": {
"_all": {
"enabled": true,
"norms": {
"enabled": false
}
},
"dynamic_templates": [
{
"template1": {
"mapping": {
"doc_values": true,
"ignore_above": 1024,
"index": "not_analyzed",
"type": "{dynamic_type}"
},
"match": "*"
}
}
],
"properties": {
"@timestamp": {
"type": "date"
},
"message": {
"type": "string",
"index": "analyzed"
},
"offset": {
"type": "long",
"doc_values": "true"
},
"geoip" : {
"type" : "object",
"dynamic": true,
"properties" : {
"location" : { "type" : "geo_point" }
}
}
}
}
},
"settings": {
"index.refresh_interval": "5s"
},
"template": "filebeat-*"
}
filebeat index search output
geoip.continent_code EU
geoip.coordinates 2.3386999999999887, 48.85820000000001
geoip.country_code2 FR
geoip.country_code3 FRA
geoip.country_name France
geoip.country_name France
geoip.ip 21.44.34.66
geoip.latitude 48.85820000000001
geoip.location 2.3386999999999887, 48.85820000000001
geoip.longitude 2.3386999999999887
geoip.timezone Europe/Paris
host client1.product