When I create a map using Cluster and Grids layer, it seems like it's only drawing one item in the array instead of everything in the array. But it's counting it as a cluster with a count of 2.
Do I have to send the logs individually for each location?
I'm using Kibana 7.8. When I used Kibana 7.7 it seemed normal. This happened after my update to 7.8
So on both versions the cluster layer renders all points from the cluster.
Could you share more details of your use case? Making your example as easy as possible replicating the issue and then sharing the request and response from Elastic would help to understand what may be happening to you
When I create a map using Cluster and Grids layer, it seems like it's only drawing one item in the array instead of everything in the array. But it's counting it as a cluster with a count of 2.
Do I have to send the logs individually for each location?
I would recommend sending each location as its own document. The reason for this is that aggregations count the entire array of values as matches for a bucket even if only a single element in the array matches the bucket. This means that since your locations are all over the world, the geo centroid for the bucket is skewed outside of the geo tile grid bucket itself. See Arrays of geo_points mess up geohash_grid with geo_centroid · Issue #24694 · elastic/elasticsearch · GitHub for more details about the problem.
Kibana clamps geo centroid to the bounds of the geo tile grid so that even if the centroid is outside of the grid, the cluster is visualized in the grid's location.
I am not sure why you are seeing differences between versions 7.7 and 7.8 since this logic has existed since the app launched all the way back in 6.7. Maybe you were just displaying the results as individual documents in 7.7?
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.