# Query to show unfinished job

**URL:** <https://discuss.elastic.co/t/query-to-show-unfinished-job/151467>\
**Category:** Elasticsearch\
**Created:** [October 8, 2018, 1:58pm UTC](https://discuss.elastic.co/t/query-to-show-unfinished-job/151467 "2018-10-08T13:58:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![florentmair](https://avatars.discourse-cdn.com/v4/letter/f/8e7dd6/32.png) [@florentmair](https://discuss.elastic.co/u/florentmair)\
**Post date:** [October 8, 2018, 1:58pm UTC](https://discuss.elastic.co/t/query-to-show-unfinished-job/151467/1 "2018-10-08T13:58:30Z")

</div>

Hi everyone,

i have an index who store some documents with information like :

```
timestamp;hash;request;begin
timestamp;hash;request;end

```

i want to find the most oldest request unfinished, "hash" is an unique ID for the request  
How can i do that ?

Regards  
Florent

---

<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 5, 2018, 1:58pm UTC](https://discuss.elastic.co/t/query-to-show-unfinished-job/151467/2 "2018-11-05T13:58:33Z")

</div>

Closed on November 5, 2018, 1:58pm UTC

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