I have a production cluster (version 5.6.4) and a separate monitoring cluster (version 6.2). I noticed that if I enter in the monitoring section and select the production cluster i the Kibana section I see only one instance when I have multiple of them.
I deploy kibana with docker and publish a different port for each one but keeping the internal port the standard one. Also, each kibana has a different index e.g. .kibana-name).
When I take down the showed kibana instance, another one of the running kibana instances showed up (only one). If I repeat it than a 3rd one shows up. I noticed that the Kibana instances are selected in alphabetic order.
I guess that the issue could be that the monitoring code use a dictionary and the key is (IP:PORT) which in my case is the same for each instance.
Is there a setting to fix this or is it a bug in monitoring?