Geo_point not found

Hi,
i have found some threads on this topic on Kibana 4.x version nothing on 5.3.
Is there a fix for this?

{
"template": "flight-track-*",
"settings": {
"number_of_shards": 1,
"number_of_replicas" : 0,
"index.refresh_interval": "5s"
},
"mappings": {
"default": {
"properties": {
"flight": {
"type": "keyword"
},
"altitude": {
"type": "integer"
},
"vert_rate": {
"type": "integer"
},
"speed": {
"type": "integer"
},
"seen": {
"type": "integer"
},
"squawk": {
"type": "keyword"
},
"validposition": {
"type": "boolean"
},
"messages": {
"type": "integer"
},
"hex": {
"type": "keyword"
},
"location": {
"type": "geo_point"
},
"track": {
"type": "integer"
},
"airline": {
"type": "keyword"
},
"validtrack": {
"type": "boolean"
}
},
"_all": {
"enabled": false
}
}
}
}

I don't understand what you are asking. This looks like an index template, so presumably your index mappings will have a location field of type geo_point. Is the mapping in Elasticsearch not being set correctly or something?
What's the issue?

Good Morning Joe
I am getting the error;

Field

No Compatible Fields: The "flight-track-*" index pattern does not contain any of the following field types: geo_point

On the discover tab I can display many locations.

I am not sure what I am doing wrong.

Ian

My guess is the field mapping isn't right for some reason.

If you look at your index pattern in Management > Index Patterns, what type does it say the field is?

If it doesn't say geo_point, that's the issue. Take a look at the mappings in Elasticsearch, via GET /flight-track-*/_mapping, make sure that all of the location fields in every index is of type geo_point.

Hi Joe, you are correct.
I am setting
,
"location": {
"type": "geo_point"

but Kibana>Management>index patterns show location = string

location string

I must have something wrong with my conf files.

Thanks for increasing my understanding of Kibana
Ian

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