Hi:
from spark into elastic i can insert geo_point fiield like that, but, I cant show that in map on kibana, please anny sugestions??, here the code and pictures:
I tried to insert from diferent form but doesnt work:
ddr1 = df1.select("").map(lambda line: ('id',{"geo_sucursal":{"location":{"lon":"41.12","lat":"-71.34"}},'fecha_creacion': '2016-02-12'}))
ddr1 = df1.select("").map(lambda line: ('id',{"geo_sucursal":{"location":{"lon":41.12,"lat":-71.34}},'fecha_creacion': '2016-02-12'}))
ddr1 = df1.select("*").map(lambda line: ('id',{'location': { 'lat': 41.12,'lon': -71.34},'fecha_creacion': '2016-02-12'}))