# And I want to find devices that existed in the past but not anymore

**URL:** <https://discuss.elastic.co/t/and-i-want-to-find-devices-that-existed-in-the-past-but-not-anymore/210454>\
**Category:** Kibana\
**Created:** [December 4, 2019, 5:05am UTC](https://discuss.elastic.co/t/and-i-want-to-find-devices-that-existed-in-the-past-but-not-anymore/210454 "2019-12-04T05:05:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Petr.Simik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/petr.simik/32/38082_2.png) [@Petr.Simik](https://discuss.elastic.co/u/Petr.Simik)\
**Post date:** [December 4, 2019, 5:05am UTC](https://discuss.elastic.co/t/and-i-want-to-find-devices-that-existed-in-the-past-but-not-anymore/210454/1 "2019-12-04T05:05:54Z")

</div>

And I want to find documents that had existed in the past but not anymore. Let say daily buckets.  
How I could visualize it?

deviceid:"123"

deviceid:"123" - count(100) for day 1  
deviceid:"123" - count(0) for day 2 = not presented in day 2 bucket - this devices I want to list

I tried derivative or heatmap but it does not show what I expected.

Thank you

---

<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:** [January 1, 2020, 5:05am UTC](https://discuss.elastic.co/t/and-i-want-to-find-devices-that-existed-in-the-past-but-not-anymore/210454/2 "2020-01-01T05:05:57Z")

</div>

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