# Searching for event completion

**URL:** <https://discuss.elastic.co/t/searching-for-event-completion/268658>\
**Category:** Elasticsearch\
**Created:** [March 29, 2021, 1:15pm UTC](https://discuss.elastic.co/t/searching-for-event-completion/268658 "2021-03-29T13:15:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ginu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ginu/32/86297_2.png) [@ginu](https://discuss.elastic.co/u/ginu)\
**Post date:** [March 29, 2021, 1:15pm UTC](https://discuss.elastic.co/t/searching-for-event-completion/268658/1 "2021-03-29T13:15:17Z")

</div>

Hi  
I have a application which logs everytime it get a file to process with

```
2021-03-19 10:59:44.8386| INFO|MY App||Starting
2021-03-19 10:59:44.9177| INFO|AppSetting||Exporting to file Appsetting.txt
....
....
.... 
2021-03-19 12:28:03.3415| INFO|MY App|| Finished exporting Task!

```

It normally takes ~2 hrs to finish the job  
in some cases, it fails and will miss the last entry namely  
INFO|MY App|| **Finished exporting Task!**

I have all these entries in Elaticsearch in the index namely AppLogs-\*

Can you suggest a way to identify the Missing Finished exporting Task after 2hrs of start of the log entry "Starting"? which I can alert?

Regards,  
Ginu

---

<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:** [April 26, 2021, 1:15pm UTC](https://discuss.elastic.co/t/searching-for-event-completion/268658/2 "2021-04-26T13:15:28Z")

</div>

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