Kibana 5 coordinate map - unique terms

Hi @timroes ,

Thanks for the reply!

Is it possible somehow to run an elastic query to aggregate the results (something like a materialized view), and use THAT as a data source for the map visualization? Or any other workaround you can think of?

Thanks!

Tal

UPDATE: I read your answer again and I would like to rephrase the question: I understand that the map visualization shows documents aggregated by the location, so I will see multiple documents that are at the same location as 1 point. That's fine. But I would like to filter the documents I'm showing (unique client ids, maximum timestamp). Is it somehow possible (perhaps by using the advanced json input somehow) to specify a pre-filter for the documents that are shown and not use the raw documents (all of them) as the datasource?