I believe what you are looking for is this: Remove duplicate documents from a search in kibana4. If so, as that thread says, this isn't currently available in Kibana but please +1 the issue for it with a link to this this post: https://github.com/elastic/kibana/issues/3546