Other observation.
I have three different cluster, each has three node.
This kind of problem is only on one cluster.
can't figure out what is wrong. I guess no one else is using such a thing
Were you able to verify all of the kibana instances are not slow when connecting directly (not sure if the comment was referring to clusters or kibana's)? What are you using for your DNS setup?
Regarding the logouts, you'll want xpack.security.encryptionKey to be the same across alll kibana instances. If it's not set, it'll be generated. Kibana stores session information in an encrypted cookie, and you'll get timeouts if your server switches
yes all individual link to host works fine and it does not get time out or logout.
Sorry didn't explain in more detail
I have elk01, elk02, elk03 (master/data node for elasticsearch, all three running kibana as well)
version 7.1.1
now on dns they are
elk01 <--> ip1 (forward and reverse set
elk02 <--> ip2
elk03 <--> ip3
now set up one name which point to all three ip.
elk -> ip1
elk -> ip2
elk -> ip3
Goal here is that user can type elk:5601 and should able to hit any server.
No I don't have any xpack.security.encryptionKey setup. in kibana.yml
I have identical setup on other four center and it works on three center without any problem. I have check and recheck my setup, compare config with other setup and they all looks same.
You need to set this.
I too have 3 kibanas behind a load balancer, in your case its DNS round robin but the end result is the same, requests can move around the kibana hosts if you have more than 1.
This setting is required when you have more than 1 kibana or else they can’t all decrypt each others cookies. Which breaks the frontend when you randomly go to another kibana instance.
AWS ELB
My ES cluster runs on AWS ECS (docker containers) and my Kibana too.
So I have 3 Kibana docker containers running that are considered a "Service" with desired count = 3 in AWS ECS and they are fronted by an AWS ELB which load balances to all 3 kibana containers.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.