The issue was indeed fixed in 5.2.1, but has returned in 5.3.0. Using Kibana and X-Pack 5.3.0, I cannot see more than 10 logstash nodes in the UI (even though I have more, and the "Nodes" field at the top of the page displays the correct number).
From what I see the fix for this issue only made it in 5.x after the 5.3 branch was created, so it's going to be fixed in 5.4.0. I'm looking at the PR right now and sadly it's only in 5.4.0 and onwards.
I'm facing similar issue on 5.1.1
I have total 9 nodes(3 master/data/client) but kibana only listing 7 of 7. Refer screenshot.
Is it related to this bug? Would be great if someone can point me to the official bug report.
This is not the same issue - the issue I reported here is specific to logstash nodes, and Kibana shows only 10 logstash nodes because no size parameter is set in the query it sends to ElasticSearch, resulting in a default result set size of 10.
I doubt what you're seeing is a bug in Kibana - most likely the missing nodes are really not in your cluster. Does _cat/nodes show them?