# Exclude duplicate data

**URL:** <https://discuss.elastic.co/t/exclude-duplicate-data/281226>\
**Category:** Kibana\
**Created:** [August 12, 2021, 3:42pm UTC](https://discuss.elastic.co/t/exclude-duplicate-data/281226 "2021-08-12T15:42:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Aaron\_Caldwell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron_caldwell/32/45755_2.png) [@Aaron\_Caldwell](https://discuss.elastic.co/u/Aaron_Caldwell)\
**Post date:** [August 13, 2021, 10:02pm UTC](https://discuss.elastic.co/t/exclude-duplicate-data/281226/2 "2021-08-13T22:02:31Z")

</div>

Hello Daniel,

It sounds like you should be able to use the top hits agg here. See this discuss issue: [Top hits per type of each day](https://discuss.elastic.co/t/top-hits-per-type-of-each-day/206299)

Regards,  
Aaron

---

_[View the full topic](https://discuss.elastic.co/t/exclude-duplicate-data/281226)._
