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 https://www.elastic.co/blog/importing-csv-and-log-data-into-elasticsearch-with-file-data-visualizer
Or use https://www.elastic.co/guide/en/elasticsearch/reference/7.6/csv-processor.html
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.