# How to find a record that exists in one index but not another

**URL:** https://discuss.elastic.co/t/how-to-find-a-record-that-exists-in-one-index-but-not-another/186243
**Category:** Kibana
**Created:** [June 18, 2019, 11:52am UTC](https://discuss.elastic.co/t/how-to-find-a-record-that-exists-in-one-index-but-not-another/186243 "2019-06-18T11:52:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Terence\_Earl\_Michael](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@Terence\_Earl\_Michael](https://discuss.elastic.co/u/Terence_Earl_Michael)
#### Post date: [June 18, 2019, 11:52am UTC](https://discuss.elastic.co/t/how-to-find-a-record-that-exists-in-one-index-but-not-another/186243/1 "2019-06-18T11:52:41Z")

</div>

Good afternoon all,

I have a problem that I can't seem to solve with Elasticstack... We have two systems, lets call them system a and system b. Each evening system a transmits its list of orders to system b for processing overnight.

I want to check that all records in system a have been received by system b. I've created two inputs into logstash, subsequently elasticsearch and kibana - I have created an index search that includes both sets of inputs. I can't manage to create a search or visualization that shows how many records exist in system a but not system b...

If this were a single relational database, I could write a simple query but how can I manage it within Kibana?

Thanks!!

Terry

---

<div class="post-metadata">

### Author: ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)
#### Post date: [June 21, 2019, 9:39am UTC](https://discuss.elastic.co/t/how-to-find-a-record-that-exists-in-one-index-but-not-another/186243/2 "2019-06-21T09:39:41Z")

</div>

Would showing the difference in count for events in system a and events in system B be enough? If so, i'd recommend looking into Visual Builder.

---

<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: [July 19, 2019, 9:39am UTC](https://discuss.elastic.co/t/how-to-find-a-record-that-exists-in-one-index-but-not-another/186243/3 "2019-07-19T09:39:43Z")

</div>

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