Presto: Unable to connect to a elasticsearch cluster with user/password authentication

Created on 23 Jun 2020  路  6Comments  路  Source: prestosql/presto

Hi all I have tried all type of configs and until now I couldn't be able to connect to a elasticsearch cluster that i need to use as source, this elasticsearch was authentication based on user/password only.

Can some one please help me with this topic, with suggestion of configurations or specific fields to add in the configuration to support the user and password.

Thank you very much.

Most helpful comment

This is currently not supported. There was some effort to implement this a while ago, but the author appears to have abandoned it: https://github.com/prestosql/presto/pull/2311

The change is fairly straightforward, so it shouldn鈥檛 be hard to add. Let me look into it.

All 6 comments

This is currently not supported. There was some effort to implement this a while ago, but the author appears to have abandoned it: https://github.com/prestosql/presto/pull/2311

The change is fairly straightforward, so it shouldn鈥檛 be hard to add. Let me look into it.

Thank you very much @martint , for the effort.

I would be very thankfull if you find/develop a solution.

@JMNDev in v337, you can now add the following properties to the elasticsearch.properties file:

elasticsearch.security=PASSWORD
elasticsearch.auth.user=elastic
elasticsearch.auth.password=changeme

Found the elasticsearch.ignore-publish-address property. works now.

Thank you very much @dekelev I will test and give some feedback soon.

@dekelev I have tested and worked fine. Thank you very much.

Was this page helpful?
0 / 5 - 0 ratings