Use threshold on minimum number of observations for showing data on chloropleth map

I have followed the reverse geocoding example and the basics work great using Kibana 7.16. I have left the 'apply global search to layer data' option turned off so that the map updates when I filter observations in a dashboard.

Now I would like to limit the polygons shown on the map to those which meet a minimum number of observations (e.g. show only polygons with at least 5 IP addresses). Is there a way to make this work? If so, can I adjust the behaviour of the threshold to also filter the remaining dashboard or, alternatively, not to filter the remaining dashboard?


Unfortunately there is not support for aggregation results filtering in Elastic Maps :frowning_face:

Related issues: