Kibana latest value aggregation pie chart


To get that kind of aggregation in Kibana, you'll want a user-centric index that keeps the last-known country for each user updated as new events are generated. Take a look at a similar question I helped with: Count Of Metric after Doing Top Hits