Elastic search cluster to S3 bucket using AWS glue

Job ID: 34777932

Budget: $30 – $250 USD

So basically I have an Elastic search cluster in public network and I want to export the data to S3 bucket in same source region. I want to use Aws gluejob for this and I need to implement it right away
I have tried it from my end but i get some error.
'Cannot detect ES version ' is the error.
I need immediate help to implement this.