Sending data from S3 to elasticsearch

Is there anyway that I can send the data from AWS S3 to self managed elastic search? Please let me know.

Have a look at Logstash S3 Input: https://www.elastic.co/guide/en/logstash/current/plugins-inputs-s3.html

Thank you!