Bulk upload from s3 url

Hello,

I want to do bulk uploading from a s3 url using curl command .

I am using the following command but it is not working.

curl -XPOST localhost:9200/_bulk/{"index": {"_source": "https://s3.amazaws.cm/xxxxxxx/xxxxxxxxxxxx/data.json"}}

Is there any command or any other way to do this.

Thank you

No.

You could look at https://www.elastic.co/guide/en/logstash/current/plugins-inputs-s3.html