Geo points for ingestion of data in csv format using python

Hi, I wish to ingest my csv files which consist of fields with latitude and longitude values. How can i ingest these two values as geo_points using python?

You need to write a script which reads every line of the CSV file, convert it to json document, add the json to a bulk request and from time to time send the bulk request to elasticsearch.
Before that, you need to define the mapping for your index.

Otherwise, you can also read

Or use

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