Spark string to elasticsearch geo_point

I am new to ES so I don't know much about it. I have a spark streaming DataFrame which has a field "location" and it has the latitude and longitude of a place and I want to show the data into kibana Map. The issue is I don't know how. I've tried creating index first and then dump data into the index gives me error of rejected mapping. Tell me how to do so....

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