Hi,

Thanks for the suggestion. Unfortunately seems like AWS ES does not support 
'transport' client-type.

However, I got it working using http client-type. I will list down the steps, 
will be useful for anyone trying the same. This is specific to connecting 
Zeppelin to AWS managed ElasticSearch service.

1) Make sure the Zeppelin Server IP is added to the allowed list of IPs for AWS 
ElasticSearch.

2) Install the Zeppelin elasticsearch interpreter.

3) From the JSON response which you get in the browser for the ES endpoint (ES 
end point might look like this: 
https://search-abc-xyz-prod-fdizuwhbc4663qlh2tqghghydajycyu.us-east-1.es.amazonaws.com/
 ) get the cluster name value.

"cluster_name" : "130397394056:abc"

4) Configure the interpreter with the following properties:

elasticsearch.client.type http
elasticsearch.cluster.name 130397394056:abc
elasticsearch.host 
search-abc-xyz-prod-fdizuwhbc4663qlh2tqghghydajycyu.us-east-1.es.amazonaws.com
elasticsearch.port 80

5) Test the note with the ES query.

Thanks,

Saksham

________________________________
From: Park Hoon <1am...@gmail.com>
Sent: Monday, September 4, 2017 7:59:26 AM
To: users@zeppelin.apache.org
Subject: Re: AWS ElasticSearch Service with Zeppelin

Hi, I think u need to use 9200 or 9300 depending on the client.



- 
https://stackoverflow.com/questions/42721259/elasticsearch-interpreter-can-not-connect-to-database/42731420#42731420


Regard,

On Fri, Sep 1, 2017 at 10:46 PM, Saksham Srivastava 
<saksham1...@outlook.com<mailto:saksham1...@outlook.com>> wrote:

Hi,


Has anyone tried to connect AWS managed ElasticSearch cluster to Zeppelin? Our 
managed elastic-search domain end-point look something like this:

https://search-abc-xyz-prod-fdizuwhbc4663qlh2tqghghydajycyu.us-east-1.es.amazonaws.com


I have successfully added the elasticsearch interpreter in Zeppelin (0.7.2)


What should be the values of the following configs:

elasticsearch.client.type
elasticsearch.cluster.name<http://elasticsearch.cluster.name>
elasticsearch.host
elasticsearch.port


I have tried few configs like port being 443 etc. but none of them worked. The 
error I get is :Problem with the Elasticsearch client, please check your 
configuration (host, port,...)


Any help would be greatly appreciated.


Thanks,

Saksham


Reply via email to