# How to update the coordinate map legend with the location count

**URL:** <https://discuss.elastic.co/t/how-to-update-the-coordinate-map-legend-with-the-location-count/188890>\
**Category:** Kibana\
**Created:** [July 4, 2019, 10:26am UTC](https://discuss.elastic.co/t/how-to-update-the-coordinate-map-legend-with-the-location-count/188890 "2019-07-04T10:26:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Merril](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@Merril](https://discuss.elastic.co/u/Merril)\
**Post date:** [July 4, 2019, 10:26am UTC](https://discuss.elastic.co/t/how-to-update-the-coordinate-map-legend-with-the-location-count/188890/1 "2019-07-04T10:26:03Z")

</div>

Hi all,

I was trying to visualise ssh login into a server. I managed to get the geoip.location work in ES and can get the information on Kibana. However when I use the coordinate map on Kibana the legend is not showing the count metrics on Geo coordinates as expected. Please see [here](https://github.com/MerrilCode/b2b_readme_images/blob/master/elk1.png) an image of what I am referring to. You can see that the legend is not dynamic? but [here](https://github.com/MerrilCode/b2b_readme_images/blob/master/elk2.png) you can see that I have 3 counts of the data. How do I customise the legend so that it is updated dynamically based on the count metric? I played around with the options tab on the visualisation without much success. If someone can direct me to what I should be doing here, that would be awesome.!

I am using docker official image kibana:7.2.0.

Kind regards,  
Merril

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 5, 2019, 8:00am UTC](https://discuss.elastic.co/t/how-to-update-the-coordinate-map-legend-with-the-location-count/188890/2 "2019-07-05T08:00:58Z")

</div>

Rather than deleting your question, it would be better if you could share your solution, as it may help others in the future with a similar problem 🙂

---

<div class="post-metadata">

**Author:** ![Merril](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@Merril](https://discuss.elastic.co/u/Merril)\
**Post date:** [July 5, 2019, 8:37am UTC](https://discuss.elastic.co/t/how-to-update-the-coordinate-map-legend-with-the-location-count/188890/3 "2019-07-05T08:37:28Z")

</div>

Hi Mark,

Apologies. I hadn't thought of that. Its fixed somehow when I tried with a different log, namely conn.log from Zeek (Bro) which had frequent connections hence documents with geoip.locations on ES. Then I noticed that the legend was updating as expected. Not sure why it has changed. I am still testing with few other logs and I will hopefully have a better idea what is going on.

Kind regards,  
Merril.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 4, 2022, 7:15am UTC](https://discuss.elastic.co/t/how-to-update-the-coordinate-map-legend-with-the-location-count/188890/4 "2022-11-04T07:15:16Z")

</div>


