Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indexing ES using rdd over https connection #371

Closed
geetanjaligg opened this issue Feb 3, 2015 · 1 comment
Closed

Indexing ES using rdd over https connection #371

geetanjaligg opened this issue Feb 3, 2015 · 1 comment

Comments

@geetanjaligg
Copy link

I have secured ES + Kibana with nginx, so it's password protected and served over SSL.

sparkconf.set("es.index.auto.create", "true")
sparkconf.set("es.nodes","xx.xxx.xxx.xxx")
sparkconf.set("es.port","9200")

log_map.filter(_!=None).saveToEs("dataset/logs")

doesn't seem to work.

Any suggestions?

@costin
Copy link
Member

costin commented Feb 3, 2015

@geetanjaligg Es-hadoop needs to be configured to use SSL since otherwise it relies on HTTP not HTTPS. It also can be configured to support proxies or basic authentication.
See the reference documentation for more information here.
In the future, for questions please use the mailing list or the IRC not the issue tracker. Thank you.

@costin costin closed this as completed Feb 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants