我已经将我的数据从SQL导入Elastic之后如何在Kibana中创建地理点,因为我想为纬度和经度添加一个名为location的新字段,这样我就可以使用地图可视化或修改索引i已经创造出来了。感谢
我的索引样本
{
"_index": "test1",
"_type": "pre-test",
"_id": "AVk1OzrXZxCtOaXERUPg",
"_score": 1,
"_source": {
"tagno": "L116E11079 ",
"status": "04 ",
"cdesc": "STRINGING ",
"statusdt": "2016-08-27T00:00:00",
"weightdone": 12.35,
"cchiange": "0067+172.750 ",
"kp_no": "067",
"latitude": 29.55592659,
"longitude": 47.69675638,
"pIPELINE": " FUEL ",
"pIPELINE_DESCRIPTION": "From A ",
"pOINT_DESCRIPTION": "KILOMETER POINT (KP)",
"cATEGORY": "MAIN "
}
}