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

es_host configures multiple nodes in config.yml #3169

Closed
hanjiangxue20 opened this issue Apr 8, 2021 · 3 comments
Closed

es_host configures multiple nodes in config.yml #3169

hanjiangxue20 opened this issue Apr 8, 2021 · 3 comments

Comments

@hanjiangxue20
Copy link

Can es_host configure multiple nodes' IP in config.yml? I have 3 ES nodes,thanks

@nsano-rururu
Copy link
Contributor

I don't think it can be done with the current Elast Alert. The following pull request seems to be relevant.
feat: suport for multi es instances #3109

@nsano-rururu
Copy link
Contributor

#2526 (comment)

simple solution is to install a lightweight load balancer (like nginx or haproxy) and redirect your requests to your elasticsearch nodes. Just be sure your index settings are correctly spreading replicas of your shards accross your nodes because if the LB query a elastic node but doesn't contain all the data you needs, you will not see everything if the datas are spreads between the nodes

#1402 (comment)

No, you don't need to install it multiple places, nor do you need to declare all the node names. All you need is direct connectivity to a SINGLE node.

#1364 (comment)

Please use haproxy in front of elasticsearch . This helps to accomplish ha mode for elastalert.

#614 (comment)

I recommend haproxy. It's super simple to set up a reverse proxy for Elasticsearch to do load balancing.

@hanjiangxue20
Copy link
Author

Thank you very much. I'll try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants