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?
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.
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.