Bulk upload in Elasticsearch 6.8.19 using python

Due to some reasons, I need to upload bulk csv data in Elasticsearch 6.8.19.
Can someone provide me a piece of code for that.
The latest version python code is not working for obvious reasons.

Elasticsearch 6.8.19 is EOL and no longer supported. Please upgrade ASAP.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )


Does it need to be done using Python? As of 6.5 you have access to the file visualizer which you can use to upload CSVs directly. This older blog should give you an idea of how to go about it.

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