Kibana Discovery tab - distinct / unique the results

Hi
I would need to distinct my discovery results by customer ID,
and get all details of each customer latest action/document.
I am aware that i can get the unique count by using a visualization , BUT it is not enough , I need to get the full document details and there are many different customers : ) .
Please let me know if there is a way to do what i need
Thanks

BTW
My question is similar to the following discussion that was closed before replying completely :

Hi @elad888,

unfortunately the discover app can not perform that transformation, but the "Data Table" visualization can achieve something similar. Just use a "Terms" aggregation on the field identifying your customers (e.g. customer_id) to generate the buckets and "Top Hit" aggregations as the metrics (e.g. on the _source field).

Thanks Felix !!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.