# Compare 2 documents in same index

**URL:** https://discuss.elastic.co/t/compare-2-documents-in-same-index/196227
**Category:** Kibana
**Created:** [August 22, 2019, 4:22am UTC](https://discuss.elastic.co/t/compare-2-documents-in-same-index/196227 "2019-08-22T04:22:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![tannaga](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@tannaga](https://discuss.elastic.co/u/tannaga)
#### Post date: [August 22, 2019, 4:22am UTC](https://discuss.elastic.co/t/compare-2-documents-in-same-index/196227/1 "2019-08-22T04:22:26Z")

</div>

Is there a way 2 documents in the same index be compared and the diff highlighted?  
For example, lets say a resource has gone through multiple updates. compare 2 revisions of this resource to find out what changed.

Based on this discussion it was suggested to create a feature request [Comparing 2 docs](https://discuss.elastic.co/t/comparing-2-docs/124454) but the below issue was closed  
[#17850](https://github.com/elastic/kibana/issues/17850)

---

<div class="post-metadata">

### Author: ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)
#### Post date: [August 22, 2019, 9:18pm UTC](https://discuss.elastic.co/t/compare-2-documents-in-same-index/196227/2 "2019-08-22T21:18:53Z")

</div>

The issue was likely closed as it was more of a question than a feature request. It is not possible to do this with Kibana now.

I suggest re-iterating your suggestion in the closed ticket to be clear that this is a request for a new feature. It is helpful to provide a strong use case for this as well.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [September 19, 2019, 9:33pm UTC](https://discuss.elastic.co/t/compare-2-documents-in-same-index/196227/3 "2019-09-19T21:33:12Z")

</div>

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