-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Support multiple Elasticsearch nodes and sniffing #214
Comments
round robin is not currently supported. Support is planned |
Thanks for the prompt answer. |
You could also run a non-data elasticsearch node on whatever you're running Kibana on, and point Kibana at that. That way that node will join the cluster and much more effectively load balance for you. |
Behind a reverse proxy I presume? |
I use a load balancer as a proxy between my ES interface nodes. Each ES node serves Kibana 3 for redundancy. It works pretty well since I only have two. |
+1 for that ! |
Hi All, Can i get small description about your procedure mentioned regarding load balancer for elastic search and kibana. Thanks in advance phani |
Should be fixed in #2368, closing. |
#2368 is closed and points back here! |
My bad, it wasn't fixed yet. |
👍 interest for this; would be useful to avoid 1) added complexity of a load balancer or 2) overhead of running ES on the same host. |
+1 I am running ELK cluster with multiple Logstash Shippers and Logstash Forwarders sending their logs to multiple Redis brokers and multiple Logstash Indexers, all of that gets indexed into ES cluster... Everything is configured so it wont have any single point of failure... except Kibana. Please fix! |
+1 |
👍 |
👍 Also like to vote for that - might be very useful in advanced scenarios. |
+1 |
1 similar comment
👍 |
We've been voting for 2.5 years now. However check comments 3-5 for an alternative. |
+1 |
2 similar comments
+1 |
+1 |
* feat: add metallic support compile formatted markup from markdown * feat: add story about writing a canvas plugin use the github-tags function as the example * feat: add a task to build the site without rebuilding functions * feat: add part 2 of creating plugins * chore: update microsite
+1 |
3 similar comments
+1 |
+1 |
+1 |
any updates? |
+1 |
1 similar comment
+1 |
+1 Feels "SPOFy" |
+1 |
3 similar comments
+1 |
+1 |
+1 |
Came across this blog today, see Kibana High Availability. Maybe thinking about this wrong. With this feature (issue #214) our one Kibana could withstand loss of local ES coordinator node, but we would still have the one Kibana as point of failure. Multiple "Kibani", each connected to a local coordinator would provide better availability. |
You think right. |
It makes a lot more sense to simply put a load balancer like HAProxy in front of Elasticsearch. This scales fine with a large number of Elasticsearch nodes, whereas running a large number of Kibana instances is usually a waste of resources. As an added bonus, you can point Logstash and Beats monitoring endpoints to that losdbalancer as well, because the monitoring functionality doesn’t support multiple endpoints either. |
@praseodym then it's a haproxy instance that is a spof |
@zerkms there’s always the traditional HAProxy+Keepalived pair for a high available loadbalancing. Juist to be clear: I want Kibana to support multiple ES servers as much as anyone else here, but working around that by running multiple Kibana instances and a load balancer in front just isn’t the best solution. |
Both Logstash and Beats (Filebeat at least) do support multiple endpoints. Kibana doesn't. |
Phase 1 of this is merged and targeted for 6.6 with #21928. elasticsearch.url is deprecated and replaced with elasticsearch.hosts. There's a few configuration options for sniffing. This does not include Console, we want those requests to be deterministic - link. We have settings updated in the 6.6 docs now and we'll have production setup docs updated in the coming weeks. Let me know if there's any questions or concerns. |
Hi @jbudz First, thanks for this great news! One question: My concern is: when I do a cluster rolling upgrade/restart, I wish that Kibana is still up and can continue to query elasticsearch cluster, given that there is still at least one es node started. |
Hey @fbaligand, you got it. Kibana applications with the exception of console will continue operating transparently by accessing the next node if one goes down. Console for the time being will proxy to the first host in elasticsearch.hosts. With console being a direct, lower level access point we want something closer to a dropdown with node names. |
OK, it's interesting to be able to choose a node to send a query through console. |
With Kibana2 it was possible to have multiple ElasticSearch nodes specified in the config file. I'm trying to accomplish the same with Kibana3, but I can't seem to get it done.
Is this supported at all? Or did I make an error in the snippet below?
The text was updated successfully, but these errors were encountered: