I have data coming into elastic that contains the longitude, latitude and even altitude points. I would like to have these plotted on a coordinate map in kibana. Search results showed I need to map another field that is of type: geo_point. I have done that but not sure what is next if the data data is already in elastic and was imported directly into elastic. Some mention the use of a template but I don't understand what to do with it or how.
"mappings" : {
"_meta" : {
"created_by" : "ml-file-data-visualizer"
},
"properties" : {
"collection" : {
"type" : "keyword"
},
"created" : {
"properties" : {
"$date" : {
"type" : "long"
}
}
},
"location" : {
"type" : "geo_point"
},
"mAccuracy" : {
"type" : "double"
},
"mAltitude" : {
"type" : "double"
},
"mBearing" : {
"type" : "double"
},
"mHasAccuracy" : {
"type" : "boolean"
},
"mHasAltitude" : {
"type" : "boolean"
},
"mHasBearing" : {
"type" : "boolean"
},
"mHasSpeed" : {
"type" : "boolean"
},
"mLatitude" : {
"type" : "double"
},
"mLongitude" : {
"type" : "double"
},
"mProvider" : {
"type" : "keyword"
},
"mSpeed" : {
"type" : "double"
},
"mTime" : {
"properties" : {
"$date" : {
"type" : "long"
}
}
},
"mg_id" : {
"type" : "keyword"
},
"profile_id" : {
"type" : "keyword"
},
"type" : {
"type" : "keyword"
},
"updated" : {
"properties" : {
"$date" : {
"type" : "long"
}
}
}
}
}
}
}