# Diff between sets of elasticsearch documents

**URL:** https://discuss.elastic.co/t/diff-between-sets-of-elasticsearch-documents/31648
**Category:** Elasticsearch
**Created:** [October 5, 2015, 3:58pm UTC](https://discuss.elastic.co/t/diff-between-sets-of-elasticsearch-documents/31648 "2015-10-05T15:58:25Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![evusik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/evusik/32/5122_2.png) [@evusik](https://discuss.elastic.co/u/evusik)
#### Post date: [October 5, 2015, 3:58pm UTC](https://discuss.elastic.co/t/diff-between-sets-of-elasticsearch-documents/31648/1 "2015-10-05T15:58:25Z")

</div>

I’m reaching out to see whether anyone has been solving similar problem as us and could advise on the most efficient approach.

We are developing a dashboard solution using elasticsearch & kibana. We parse results of various static analysis tools (using our custom-built parser), store them in elasticsearch (each issue found in static analysis as a separate document; issues coming from one static analysis run have a same correlationId which links them). Then we have kibana visualizations built over them.

We would like to show list of introduced and fixed issues between static analysis scan A and static analysis scan B.

Does elasticsearch have feature that could be used for that, or do we need to just query the data and do the diff ourselves in a custom component?

Thank you in advance for thoughts and ideas,  
Eva

---

<div class="post-metadata">

### Author: ![ttrmw](https://avatars.discourse-cdn.com/v4/letter/t/f475e1/32.png) [@ttrmw](https://discuss.elastic.co/u/ttrmw)
#### Post date: [June 28, 2017, 12:05pm UTC](https://discuss.elastic.co/t/diff-between-sets-of-elasticsearch-documents/31648/2 "2017-06-28T12:05:30Z")

</div>

Hey Eva,

I am just starting to look into solving a similar problem and would be interested to hear how you got on with this.

Cheers & kind regards

Thomas

---

<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: [November 4, 2022, 4:07am UTC](https://discuss.elastic.co/t/diff-between-sets-of-elasticsearch-documents/31648/3 "2022-11-04T04:07:09Z")

</div>


